% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/extract_results.R
\name{extract_results}
\alias{extract_results}
\title{Extract and Rename Mediation Results from JAGS Output}
\usage{
extract_results(output, M)
}
\arguments{
\item{output}{An \code{mcmc.list} object.}

\item{M}{Character vector of mediator variable names.}
}
\value{
A named numeric matrix.
}
\description{
Parses the summary statistics from a \code{coda} MCMC output object and
extracts rows corresponding to \code{ind.joint}, \code{a.pip.hyperprior},
and \code{b.pip.hyperprior}.
}
\keyword{internal}
