% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/make_parms_from_argument.R
\name{make_parms_from_argument}
\alias{make_parms_from_argument}
\title{Create Parameter Mapping from Individual Arguments}
\usage{
make_parms_from_argument(
  a.coef.mean = NULL,
  a.coef.prec = NULL,
  b.coef.mean = NULL,
  b.coef.prec = NULL,
  m.prec.shape = NULL,
  m.prec.rate = NULL,
  y.prec.shape = NULL,
  y.prec.rate = NULL,
  a.pip.hyperalpha = NULL,
  a.pip.hyperbeta = NULL,
  b.pip.hyperalpha = NULL,
  b.pip.hyperbeta = NULL,
  direct.coef.mean = NULL,
  direct.coef.precision = NULL
)
}
\arguments{
\item{a.coef.mean, a.coef.prec}{Numeric. Mean and precision for the
\eqn{a} path coefficients (\eqn{a.coef}).}

\item{b.coef.mean, b.coef.prec}{Numeric. Mean and precision for the
\eqn{b} path coefficients (\eqn{b.coef}).}

\item{m.prec.shape, m.prec.rate}{Numeric. Shape and rate for the mediator
residual precision (\eqn{m.prec}).}

\item{y.prec.shape, y.prec.rate}{Numeric. Shape and rate for the outcome
residual precision (\eqn{y.prec}).}

\item{a.pip.hyperalpha, a.pip.hyperbeta}{Numeric. Alpha and beta parameters
for the \eqn{a} path inclusion probability hyperprior.}

\item{b.pip.hyperalpha, b.pip.hyperbeta}{Numeric. Alpha and beta parameters
for the \eqn{b} path inclusion probability hyperprior.}

\item{direct.coef.mean, direct.coef.precision}{Numeric. Mean and precision
for the direct effect (\eqn{c'}).}
}
\value{
A \code{data.frame} containing columns: \code{priors},
\code{distribution}, \code{arguments}, and \code{template}.
}
\description{
This internal worker function compiles individual numeric prior arguments
into the standard parameters data frame used for JAGS model construction.
}
\details{
This function is called by \code{\link{make_parms_main}} when a user provides
individual named arguments. It performs several key tasks:
\itemize{
  \item \strong{Partial Override Handling:} If only one parameter of a pair
  is provided (e.g., shape but not rate), it uses the system default for
  the missing value and issues a warning.
  \item \strong{Coercion:} Ensures all inputs are treated as numeric.
  \item \strong{Validation:} Checks values against distribution-specific
  range rules (e.g., ensuring Gamma shapes are positive).
}
}
\seealso{
\code{\link{make_parms_main}}
}
\keyword{internal}
