rparse: Removes function r() from formulas.

Description Usage Arguments Value Author(s) See Also Examples

Description

Removes function r() from formulas. Can also convert to lmer formula.

Usage

1
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

fparse

Examples

1
2
f <- formula(y~x*r(z))
rparse(f)

mixlm documentation built on May 2, 2019, 6:08 p.m.

Related to rparse in mixlm...