catego: Determining groups based on the results of a pairwise...

View source: R/m.test.R

categoR Documentation

Determining groups based on the results of a pairwise function

Description

Determining groups based on the results of a pairwise function

Usage

catego(result, control = c(), alpha = 0.05)

Arguments

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" ...

Value

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").

Examples

data(iris)
output <- pairwise.t.test(iris[,1],iris$Species)
catego(output)
catego(output,control="setosa")

Antoine-Masse/KefiR documentation built on Feb. 22, 2024, 5:54 a.m.