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.

expandDoubleVerts(term)

Arguments

term

a mixed-model formula

Value

the modified term

See also