View source: R/pairwise.fisher.test.r
pairwise.fisher.test | R Documentation |
Similar to pairwise.wilcox.test
and pairwise.t.test
, calculate pairwise comparisons of a nominal variable between group levels with corrections for multiple testing.
pairwise.fisher.test(x, g, p.adjust.method, ...)
x |
Response vector, nominal (or ordinal). |
g |
Grouping vector or factor. |
p.adjust.method |
Method for adjusting |
... |
Additional arguments to pass to |
Object of class "pairwise.htest"
Kaspar Rufibach (maintainer), kaspar.rufibach@gmail.com,
http://www.kasparrufibach.ch
fisher.test
, p.adjust
, pairwise.wilcox.test
, pairwise.t.test
set.seed(1977)
x <- factor(abs(round(rnorm(99, 0, 1))))
g <- factor(round(runif(99, 0, 2)))
pairwise.fisher.test(x, g, p.adjust.method = "holm")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.