% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sequence-covariate-hmm.R
\name{decode_covariate_sequence_states}
\alias{decode_covariate_sequence_states}
\title{Decode states from a covariate-dependent HMM}
\usage{
decode_covariate_sequence_states(
  model,
  data = NULL,
  sequence_id_col = "sequence_id",
  order_col = "sequence_order",
  state_col = "state",
  method = c("viterbi", "posterior")
)
}
\arguments{
\item{model}{A fitted covariate HMM.}

\item{data}{Optional new data. Training data are used when omitted.}

\item{sequence_id_col, order_col, state_col}{Core columns for new data.}

\item{method}{\code{"viterbi"} or \code{"posterior"}.}
}
\value{
A long decoded-state data frame.
}
\description{
Decode states from a covariate-dependent HMM
}
\examples{
# See `fit_covariate_sequence_hmm()`.
}
