Removes function r() from formulas.
Removes function r() from formulas. Can also convert to lmer formula. latin1
rparse(f, REML = FALSE)
f
: formula to be stripped of r().REML
: logical indicating if lmer conversion should be done.Formula without r(), possibly converted to lmer mixed model format.
Kristian Hovde Liland
fparse
f <- formula(y~x*r(z)) rparse(f)