| subbars | R Documentation |
Substitute the '+' function for the '|' and '||' function in a mixed-model formula. This provides a formula suitable for the current model.frame function.
subbars(term)
term |
a mixed-model formula |
the formula with all | and || operators replaced by +
This function is called recursively on individual
terms in the model, which is why the argument is called term and not
a name like form, indicating a formula.
formula, model.frame, model.matrix.
Other utilities:
expandDoubleVerts(),
mkReTrms(),
nobars()
subbars(Reaction ~ Days + (Days|Subject)) ## => Reaction ~ Days + (Days + Subject)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.