Learn R Programming

scmamp (version 0.2.55)

tukeyPost: 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.

Value

A matrix with all the pairwise corrected p-values.

Details

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

References

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

Examples

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

Run the code above in your browser using DataLab