% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/internal.R
\name{.extract_draws}
\alias{.extract_draws}
\title{Safely coerce MCMC samples to a numeric matrix}
\usage{
.extract_draws(
  object,
  pars = NULL,
  chains = c("stack", "first"),
  epsilon = NULL
)
}
\arguments{
\item{object}{A mixgpd_fit.}

\item{pars}{Optional character vector of parameter names to keep (exact match).}
}
\value{
Numeric matrix of draws (iter x parameters).
}
\description{
Safely coerce MCMC samples to a numeric matrix
}
\details{
This is the matrix-oriented companion to \code{.get_samples_mcmclist()}. It can
either stack all chains or keep only the first chain, always removes
stick-breaking \code{v} variables, applies the standard component truncation rule,
and optionally filters to an exact set of parameter names.
}
\keyword{internal}
