View source: R/sequence-covariate-hmm.R
| decode_covariate_sequence_states | R Documentation |
Decode states from a covariate-dependent HMM
decode_covariate_sequence_states(
model,
data = NULL,
sequence_id_col = "sequence_id",
order_col = "sequence_order",
state_col = "state",
method = c("viterbi", "posterior")
)
model |
A fitted covariate HMM. |
data |
Optional new data. Training data are used when omitted. |
sequence_id_col, order_col, state_col |
Core columns for new data. |
method |
|
A long decoded-state data frame.
# See `fit_covariate_sequence_hmm()`.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.