re {refund} | R Documentation |
Sets up a random effect for the levels of x
.
Use the by
-argument to request random slopes.
re(x, ...)
x |
a grouping variable: must be a |
... |
further arguments handed over to |
See random.effects
in mgcv.