% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/hmm_fit-class.R
\name{dcvar_hmm_fit-methods}
\alias{dcvar_hmm_fit-methods}
\alias{print.dcvar_hmm_fit}
\alias{summary.dcvar_hmm_fit}
\alias{coef.dcvar_hmm_fit}
\alias{plot.dcvar_hmm_fit}
\title{S3 methods for dcvar_hmm_fit objects}
\usage{
\method{print}{dcvar_hmm_fit}(x, ...)

\method{summary}{dcvar_hmm_fit}(object, probs = c(0.025, 0.5, 0.975), ...)

\method{coef}{dcvar_hmm_fit}(object, ...)

\method{plot}{dcvar_hmm_fit}(
  x,
  type = c("rho", "states", "transition", "phi", "diagnostics", "ppc", "pit"),
  ...
)
}
\arguments{
\item{x, object}{A \code{dcvar_hmm_fit} object.}

\item{...}{Additional arguments (unused).}

\item{probs}{Numeric vector of quantile probabilities for the rho trajectory
(default: \code{c(0.025, 0.5, 0.975)}).}

\item{type}{Character; one of \code{"rho"}, \code{"states"}, \code{"transition"}, \code{"phi"},
\code{"diagnostics"}, \code{"ppc"}, or \code{"pit"}.}
}
\value{
Invisibly returns \code{x}.

A \code{dcvar_hmm_summary} object (a list).

A named list of posterior means: \code{mu}, \code{Phi}, margin-specific
scale/shape parameters (e.g. \code{sigma_eps} for normal margins), \code{z_rho}, and
\code{rho_state}.

A ggplot object.
}
\description{
S3 methods for dcvar_hmm_fit objects
}
\section{Functions}{
\itemize{
\item \code{print(dcvar_hmm_fit)}: Print a concise overview of the HMM fit.

\item \code{summary(dcvar_hmm_fit)}: Produce a detailed summary including
state information, VAR parameters, and diagnostics.

\item \code{coef(dcvar_hmm_fit)}: Extract posterior means of model
coefficients including state-specific rho values.

\item \code{plot(dcvar_hmm_fit)}: Dispatch to a plot type: \code{"rho"},
\code{"states"}, \code{"transition"}, \code{"phi"}, \code{"diagnostics"}, \code{"ppc"}, or \code{"pit"}.

}}
