| mkRespMod {MatrixModels} | R Documentation |
Create a respModule object, which could be from a
derived class such as glmRespMod or
nlsRespMod.
mkRespMod(fr, family = NULL, nlenv = NULL, nlmod = NULL)
fr |
a model frame, usually created by a call to |
family |
an optional glm |
nlenv |
an environment for evaluation of the nonlinear model, |
nlmod |
the nonlinear model function, as a function call
( |
The internal representation of a statistical model based on
a linear predictor expression is derived from a formula
expression and a data argument, possibly supplemented with a
family object and/or a nonlinear model expression. The
steps to obtain this representation usually involve calls to
model.frame and to model.matrix or
model.Matrix, which encapsulate important parts of this
process. This function encapsulates other operations related to
weights and offsets and to the model family to create a
respModule object.
an object of a class inheriting from respModule.
The respModule class description.
## see help("glpModel-class")