Learn R Programming

ExpDes (version 1.2.2)

tukey: Multiple comparison: Tukey's test

Description

tukey Performs the test of Tukey, for multiple comparison of means.

Usage

tukey(y, trt, DFerror, SSerror, alpha = 0.05, group = TRUE, main = NULL)

Arguments

y

Numeric or complex vector containing the response variable.

trt

Numeric or complex vector containing the treatments.

DFerror

Error degrees of freedom.

SSerror

Error sum of squares.

alpha

Significance level.

group

TRUE or FALSE.

main

Title.

Value

y Numeric trt factor DFerror Numeric MSerror Numeric alpha Numeric group Logic main Text

Details

It is necessary first makes a analysis of variance.

References

Principles and procedures of statistics a biometrical approach Steel and Torry and Dickey. Third Edition 1997

See Also

scottknott, duncan, lsd, lsdb, ccboot, snk, ccF.

Examples

Run this code
# NOT RUN {
data(ex1)
attach(ex1)
crd(trat, ig, quali = TRUE, mcomp = "tukey", sigT = 0.05)
# }

Run the code above in your browser using DataLab