powered by
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)
the formula with all | and || operators replaced by +
a mixed-model formula
formula, model.frame, model.matrix.
formula
model.frame
model.matrix
Other utilities: mkReTrms(), nobars()
mkReTrms()
nobars()
subbars(Reaction ~ Days + (Days|Subject)) ## => Reaction ~ Days + (Days + Subject)
Run the code above in your browser using DataLab