catego | R Documentation |
Determining groups based on the results of a pairwise function
catego(result, control = c(), alpha = 0.05)
result |
output results of the pairwise(), pairwise.t.test() or pairwise.wilcox.test() function |
control |
name of the category that will be used as a control to establish differences with '', '' and ''. |
alpha |
threshold of p-value to establish groups of averages or medians of type "a", "ab", "b" ... |
catego() can be used to establish groups with significantly different mean/median values relative to each other or to a reference control. It exploits the results of the functions pairwise.t.test(), pairwise.wilcox.test() and pairwise(type = "median" or "mean").
data(iris)
output <- pairwise.t.test(iris[,1],iris$Species)
catego(output)
catego(output,control="setosa")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.