% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/extract.R
\name{latent_states}
\alias{latent_states}
\alias{latent_states.default}
\alias{latent_states.dcvar_sem_fit}
\title{Extract latent states from a SEM fit}
\usage{
latent_states(object, ...)

\method{latent_states}{default}(object, ...)

\method{latent_states}{dcvar_sem_fit}(object, probs = c(0.025, 0.5, 0.975), ...)
}
\arguments{
\item{object}{A \code{dcvar_sem_fit} object.}

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

\item{probs}{Numeric vector of quantile probabilities.}
}
\value{
A data frame with columns \code{time}, \code{variable}, \code{mean}, \code{sd},
and quantile columns.
}
\description{
Returns posterior summaries for the estimated latent states at each
time point.
}
