The effects indicated by the arguments …, type
,
and (if necessary) interaction1
and interaction2
are included or excluded
from the model specified by the effects object.
The names interaction1
and interaction2
do not refer
to interactions between effects, but to dependence of effects on
other variables in the data set.
The arguments should identify the effects completely.
A list of all effects available in a given effects object (e.g.,
myeff
), including their names of dependent variables,
effect names, short names,
and values of interaction1 and interaction2 (if any),
is obtained by executing effectsDocumentation(myeff)
.
The function
includeEffects operates by providing an interface
to set the "include" column on
selected rows of the effects object, to the value requested (TRUE or FALSE).