Check and manipulate the formula for a nonlinear model, such as
specified in nlmer
.
1  nlformula(mc)

mc 
matched call from the calling function, typically

The model formula for a nonlinear mixedeffects model is
of the form resp ~ nlmod ~ mixed
where
resp
is an expression (usually just a name) for
the response, nlmod
is the call to the nonlinear
model function, and mixed
is the mixedeffects
formula defining the linear predictor for the parameter
matrix. If the formula is to be used for optimizing
designs, the resp
part can be omitted.
a list with components
"respMod" 
a response module of class 
"frame" 
the model frame, including a terms attribute 
"X" 
the fixedeffects model matrix 
"reTrms" 
the randomeffects terms object 
Other utilities: findbars
,
mkRespMod
, mkReTrms
,
nobars
, subbars
Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.