TK.test {DTK}R Documentation

Tukey's Honestly Significant Difference Test

Description

This is a reformatted function for DTK.test function-like inputs to use the TukeyHSD function.

Usage

TK.test(x = "data vector", f = "factor vector", a = "alpha level")

Arguments

x

Data vector

f

Factor vector

a

Alpha, significance level. DEFAULT=0.05

Value

TukeyHSD list output.

Author(s)

Matthew K. Lau, Department of Biological Sciences, Northern Arizona University, AZ

See Also

DTK.test, DTK.plot, TukeyHSD, qtukey

Examples

x=c(rnorm(25,5,2),rnorm(30,5,5),rnorm(35,15,5))
f<-gl.unequal(n=3,k=c(25,30,35))
DTK.result<-DTK.test(x=x,f=f,a=0.05)
TK.result<-TK.test(x=x,f=f,a=0.05)
DTK.result
TK.result

[Package DTK version 3.5 Index]