Interactions
- The interaction between
x
and z
: x:z
x
, z
, w
, and all interactions among them: x * z * w
x
, z
, w
, and all interactions up to two-way interactions: (x + z + w)^2
Conditional effects
When fitting a mixed effects model (e.g.: lme(...)
), fit x
grouped by z
: x|z
Mathematical transformations
Model the variable resulting from the enclosed mathematical operation: I(...)
- e.g.: The product of
x
and z
: I(x*z)
- e.g.: The sum of
x
, z
, and w
: I(x+z+w)