expandDoubleVerts {reformulas} | R Documentation |
Expand terms with '||'
notation into separate '|'
terms
Description
From the right hand side of a formula for a mixed-effects model, expand terms with the double vertical bar operator into separate, independent random effect terms.
Usage
expandDoubleVerts(term)
Arguments
term |
a mixed-model formula |
Value
the modified term
See Also
formula
, model.frame
, model.matrix
.
Other utilities:
mkReTrms()
,
nobars()
,
subbars()
[Package reformulas version 0.3.0 Index]