waste {multcomp} | R Documentation |
Industrial waste output in a manufactoring plant.
data("waste")
This data frame contains the following variables
low
, medium
, high
.env1
... env5
.
The data are from an experiment designed to study the effect of temperature
(temp
) and environment (envir
) on waste output in a manufactoring plant.
Two replicate measurements were taken at each temperature / environment combination.
P. H. Westfall, R. D. Tobias, D. Rom, R. D. Wolfinger, Y. Hochberg (1999). Multiple Comparisons and Multiple Tests Using the SAS System. Cary, NC: SAS Institute Inc., page 177.
### set up two-way ANOVA with interactions amod <- aov(waste ~ envir + temp + envir*temp, data=waste) ### set up linear hypotheses for all-pairs of both factors wht <- glht(amod, linfct = mcp(temp = "Tukey", envir = "Tukey")) ### cf. Westfall et al. (1999, page 181) summary(wht, test = adjusted("Shaffer"))