rparse function

Removes function r() from formulas.

Removes function r() from formulas.

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

rparse(f, REML = FALSE)

Arguments

  • f: formula to be stripped of r().
  • REML: logical indicating if lmer conversion should be done.

Returns

Formula without r(), possibly converted to lmer mixed model format.

Author(s)

Kristian Hovde Liland

See Also

fparse

Examples

f <- formula(y~x*r(z)) rparse(f)
  • Maintainer: Kristian Hovde Liland
  • License: GPL (>= 2)
  • Last published: 2025-01-14