View source: R/chisq.multcomp.R
chisq.multcomp | R Documentation |
Performs pairwise comparisons after a global chi-squared goodness-of-fit test.
chisq.multcomp(x, p.method = "fdr")
x |
numeric vector (counts). |
p.method |
method for p-values correction. See help of |
Since a chi-squared test is an approximate test, an exact test is preferable when the number of individuals is small (200 is a reasonable minimum). See multinomial.multcomp
in that case.
method |
name of the test. |
data.name |
a character string giving the name(s) of the data. |
p.adjust.method |
method for p-values correction. |
p.value |
table of results. |
Maxime HERVE <maxime.herve@univ-rennes1.fr>
chisq.test
, multinomial.test
, multinomial.multcomp
counts <- c(49,30,63,59)
chisq.test(counts)
chisq.multcomp(counts)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.