tukeyPost: Tukey post hoc test for ANOVA.

tukeyPostR Documentation

Tukey post hoc test for ANOVA.

Description

This function computes all the pairwise p-values corrected using Tukey post hoc test.

Usage

tukeyPost(data, control = NULL, ...)

Arguments

data

Data set (matrix or data.frame) to apply the test. The column names are taken as the groups and the values in the matrix are the samples.

control

Either the number or the name of the column for the control algorithm. If this parameter is not provided, the all vs all comparison is performed.

...

Not used.

Details

The test has been implemented according to Test 22 in Kanji (2006).

Value

A matrix with all the pairwise corrected p-values.

References

G. K. Kanji (2006) 100 Statistical Tests. SAGE Publications Ltd, 3rd edition.

Examples

data(data_gh_2008)
tukeyPost(data.gh.2008)
tukeyPost(data.gh.2008, control=1)

livioivil/r41sqrt10 documentation built on July 29, 2023, 5:40 p.m.