rparse {mixlm} | R Documentation |
Removes function r() from formulas.
Description
Removes function r() from formulas. Can also convert to lmer formula.
Usage
rparse(f, REML = FALSE)
Arguments
f |
formula to be stripped of r(). |
REML |
logical indicating if lmer conversion should be done. |
Value
Formula without r(), possibly converted to lmer mixed model format.
Author(s)
Kristian Hovde Liland
See Also
Examples
f <- formula(y~x*r(z))
rparse(f)
[Package mixlm version 1.3.0 Index]