Description Objects from the Class Slots Accessor Functions Author(s) Examples
A mix
model.
Objects can be created by calls to mix
.
response
:List of list of response
objects.
prior
:transInit
object; model for the
prior probabilities, also unconditional probabilities
dens
:Array of dimension sum(ntimes)*nresp*nstates providing the densities of the observed responses for each state.
init
:Array of dimension
length(ntimes)
*nstates with the current predictions for the
initial state probabilities.
nstates
:The number of states (classes) of the model.
nresp
:The number of independent responses.
ntimes
:A vector of 1's for each case; for internal use.
npars
:The total number of parameters of the model. This is not the degrees of freedom, ie there are redundancies in the parameters, in particular in the multinomial models for the transitions and prior.
The following functions should be used for accessing the corresponding slots:
npar
:The number of parameters of the model.
nresp
:The number of responses.
nstates
:The number of states.
ntimes
:The vector of independent time series lengths.
Ingmar Visser
1 | showClass("mix")
|
Loading required package: nnet
Loading required package: MASS
Loading required package: Rsolnp
Loading required package: nlme
Class "mix" [package "depmixS4"]
Slots:
Name: response prior dens init nstates nresp ntimes npars
Class: list ANY array array numeric numeric numeric numeric
Known Subclasses:
Class "depmix", directly
Class "mix.fitted", directly
Class "mix.fitted.classLik", directly
Class "mix.sim", directly
Class "depmix.fitted", by class "depmix", distance 2
Class "depmix.fitted.classLik", by class "depmix", distance 2
Class "depmix.sim", by class "depmix", distance 2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.