Performs pairwise comparisons between group levels with corrections for multiple testing.
pairwise.mood.medtest(resp, fact, exact = NULL, p.method = "fdr")
response vector.
grouping factor.
a logical indicating whether exact p-values should be computed.
method for p-values correction. See help of p.adjust
.
a character string indicating the name of the test.
a character string giving the name(s) of the data.
table of results.
method for p-values correction.
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).
# NOT RUN {
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)
# }
Run the code above in your browser using DataLab