Description Usage Arguments Details Value Author(s)
predict_depmix
predict based on depmix
or
mix
models, optionally based on a mode state.
1 | predict_depmix(object, test, mode)
|
object |
An object of class |
test |
Data set for predictions. |
mode |
Indicates whether the mode state will be used for predictions (most probable states' sequence will be used otherwise) |
Prediction function.
predict_depmix
returns a vector of values of linear predictor (for glm you should further transform them through the appropriate link function)
and the corresponding states of the latent process:
y
:Values of the linear predictor.
s
:States corresponding to the values of the linear predictor.
Aliaksandr Hubin
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.