Letter summary of similarities and differences

Description

Converts a pairwise-comparison matrix into a character-based display in which common characters identify levels or groups that are not significantly different. The function is based on multcompLetters.

Usage

1
pairwise.to.groups(pairwise.test, component = "p.value", alpha = 0.05)

Arguments

pairwise.test

a list, typically of class "pairwise.htest".

component

name of the component of pairwise.test containing the pairwise-comparison matrix. The default "p.value" corresponds to all objects of class "pairwise.htest".

alpha

significance threshold.

Author(s)

Maxime Herv<e9> <mx.herve@gmail.com>

See Also

multcompLetters for confidence intervals (and tests).

Examples

1
2
3
4
5
attach(airquality)
Month <- factor(Month,labels=month.abb[5:9])
(test <- pairwise.t.test(Ozone, Month))
pairwise.to.groups(test)
detach()

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.