tukeyPost: Tukey post hoc test for ANOVA.

Description Usage Arguments Details Value References Examples

Description

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

Usage

1
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

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

Example output

                   C4.5 k-NN(k=1)  NaiveBayes       Kernel         CN2
C4.5                 NA 0.2210711 0.988473996 0.0001898459 0.819786790
k-NN(k=1)  0.2210710679        NA 0.484533399 0.1500051250 0.837646599
NaiveBayes 0.9884739957 0.4845334          NA 0.0012374331 0.976854769
Kernel     0.0001898459 0.1500051 0.001237433           NA 0.009283049
CN2        0.8197867903 0.8376466 0.976854769 0.0092830489          NA
     C4.5 k-NN(k=1) NaiveBayes       Kernel       CN2
[1,]   NA 0.2210711   0.988474 0.0001898459 0.8197868

scmamp documentation built on May 1, 2019, 10:10 p.m.