Class "GLMresponse" and class "transInit"
Specific instances of response models for
GLMresponse-class offers an interface to the
glm functions that are subsequently used in fitting
depmix model of which the response is a part.
transInit is an extension of
response that is used to
model the transition matrix and the initial state probabilities by the
use of a multinomial logistic model, the difference being that in fact
the response is missing as the transitions between states are not
observed. This class has its own fit function which is an interface to
the multinom function in
transInit contain the
response-class. In addition to the slots of that class, these
classes have the following slots:
A formula that specifies the model.
A family object specifying the link function. See the
GLMresponsehelp page for possible options.
The following functions should be used for accessing the corresponding slots:
The number of parameters of the model.
The number of non-fixed parameters.
Ingmar Visser & Maarten Speekenbrink
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.