tukey {ExpDes}R Documentation

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.

Details

It is necessary first makes a analysis of variance.

Value

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

Author(s)

Eric B Ferreira, eric.ferreira@unifal-mg.edu.br

Denismar Alves Nogueira

Portya Piscitelli Cavalcanti (Adapted from Felipe de Mendiburu - GPL)

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

data(ex1)
attach(ex1)
crd(trat, ig, quali = TRUE, mcomp = "tukey", sigT = 0.05)

[Package ExpDes version 1.2.2 Index]