powered by
Wrapper for dunn.test, for more convenient result printing.
dunn.test
dunn.test(resp, fact, p.method = "fdr", alpha = 0.05)
response vector.
grouping factor.
method for p-values correction. See help of dunn.test. Names "fdr", "BH" and "BY" (as used with the classic p.adjust) are also allowed.
"fdr"
"BH"
"BY"
the nominal level of significance used in the step-up/step-down multiple comparisons procedures (see help of dunn.test).
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.
See help of the dunn.test function for more explanations.
# NOT RUN { set.seed(1024) response <- c(rpois(20,1),rpois(20,1.5),rpois(20,2.5)) fact <- gl(3,20,labels=LETTERS[1:3]) kruskal.test(response~fact) dunn.test(response,fact) # }
Run the code above in your browser using DataLab