View source: R/pairwise.mood.medtest.R
pairwise.mood.medtest | R Documentation |
Performs pairwise comparisons between group levels with corrections for multiple testing.
pairwise.mood.medtest(resp, fact, exact = NULL, p.method = "fdr")
resp |
response vector. |
fact |
grouping factor. |
exact |
a logical indicating whether exact p-values should be computed. |
p.method |
method for p-values correction. See help of |
If exact=NULL
, Fisher's exact tests are used if the number of data values is < 200; otherwise chi-square tests are used (with Yates continuity correction).
method |
a character string indicating the name of the test. |
data.name |
a character string giving the name(s) of the data. |
p.value |
table of results. |
p.adjust.method |
method for p-values correction. |
Maxime HERVE <maxime.herve@univ-rennes1.fr>
mood.medtest
set.seed(0904)
response <- c(rnorm(10),rnorm(10,0.8),rnorm(10,2))
fact <- gl(3,10,labels=LETTERS[1:3])
mood.medtest(response~fact)
pairwise.mood.medtest(response,fact)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.