% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/generics.R
\name{coef.antedep}
\alias{coef.antedep}
\alias{coef.gau_fit}
\alias{coef.cat_fit}
\alias{coef.inad_fit}
\title{Extract model coefficients from antedependence fits}
\usage{
\method{coef}{gau_fit}(object, ...)

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

\method{coef}{inad_fit}(object, ...)
}
\arguments{
\item{object}{A fitted model object of class \code{gau_fit},
\code{cat_fit}, or \code{inad_fit}.}

\item{...}{Unused.}
}
\value{
For \code{gau_fit}: a named list with elements \code{mu},
\code{phi}, \code{sigma}, and (if a block effect was estimated)
\code{tau}.
For \code{cat_fit}: a list with \code{marginal} and \code{transition}
probability arrays.
For \code{inad_fit}: a named list with elements \code{alpha},
\code{theta}, and (if applicable) \code{tau} and \code{nb_inno_size}.
}
\description{
Returns the estimated parameters of a fitted antedependence model as a
named list.
}
\examples{
\donttest{
set.seed(1)
y <- simulate_gau(n_subjects = 40, n_time = 5, order = 1, phi = 0.4)
fit <- fit_gau(y, order = 1)
coef(fit)
}

}
