yates.effects {dae} | R Documentation |
Extracts Yates effects from an aov or aovlist object.
yates.effects(aov.obj, error.term="Within", data=NULL)
aov.obj |
An aov object or aovlist object created from a call to aov. |
error.term |
The error.term from which the Yates effects are estimated.
Only required when Error used in call to aov. |
data |
A data frame in which the variables specified in the aov.obj
will be found. If missing, the variables are searched for in
the standard way. |
Yates effects are specific to 2^k experiments, where Yates
effects are conventionally defined as the difference between the upper
and lower levels of a factor. We follow the convention used in
Box, Hunter and Hunter (1978) for scaling of higher order interactions:
all the Yates effects are on the same scale, and represent the average
difference due to the interaction between two different levels.
Effects are estimated only from the error term supplied to the
error.term
argument.
a vector of the Yates effects.
Fac4Proc.aov <- aov(Conv ~ Catal * Temp * Press * Conc + Error(Runs), Fac4Proc.dat) yates.effects(Fac4Proc.aov, error.term="Runs", data=Fac4Proc.dat)