Ryan, Einot and Gabriel and Welsch multiple range test

Description

Multiple range tests for all pairwise comparisons, to obtain a confident inequalities multiple range tests.

Usage

1
REGW.test(y, trt, DFerror, MSerror, alpha = 0.05, group=TRUE, main = NULL,console=FALSE)

Arguments

y

model(aov or lm) or answer of the experimental unit

trt

Constant( only y=model) or vector treatment applied to each experimental unit

DFerror

Degree free

MSerror

Mean Square Error

alpha

Significant level

group

TRUE or FALSE

main

Title

console

logical, print output

Details

It is necessary first makes a analysis of variance.

Value

y

class (aov or lm) or vector numeric

trt

constant (only y=model) or vector alfanumeric

DFerror

Numeric

MSerror

Numeric

alpha

Numeric

group

Logic

main

Text

Author(s)

Felipe de Mendiburu

References

Multiple comparisons theory and methods. Departament of statistics the Ohio State University. USA, 1996. Jason C. Hsu. Chapman Hall/CRC

See Also

LSD.test, waller.test , duncan.test, HSD.test , SNK.test

Examples

1
2
3
4
5
6
7
library(agricolae)
data(sweetpotato)
model<-aov(yield~virus,data=sweetpotato)
comparison <- REGW.test(model,"virus", 
main="Yield of sweetpotato. Dealt with different virus")
print(comparison)
REGW.test(model,"virus",alpha=0.05,console=TRUE,group=FALSE)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.