Remove the random-effects terms from a mixed-effects formula, thereby producing the fixed-effects formula.
nobars(term)
the fixed-effects part of the formula
the right-hand side of a mixed-model formula
formula
, model.frame
,
model.matrix
.
Other utilities: findbars
,
mkRespMod
, mkReTrms
,
nlformula
, subbars
nobars(Reaction ~ Days + (Days|Subject)) ## => Reaction ~ Days
Run the code above in your browser using DataLab