Description Slots Accessor Functions Author(s)

A `mix.sim`

model. The `mix.sim`

class directly
extends the `mix`

class, and has an additional slot for the
true states. A `mix.sim`

model can be generated by
`simulate(mod,...)`

, where `mod`

is a `mix`

model.

`response`

:List of list of

`response`

objects.`prior`

:`transInit`

object.`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.`ntimes`

:A vector containing the lengths of independent time series; not applicable for mix objects, i.e. this is a vector of 1's.

`nstates`

:The number of states/classes of the model.

`nresp`

:The number of independent responses.

`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.

`states`

:A matrix with the true states/classes.

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

depmixS4 documentation built on May 30, 2017, 6:48 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.