% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/JAGS-formula.R
\name{JAGS_formula_design}
\alias{JAGS_formula_design}
\title{Extract Fitted JAGS Formula Design Metadata}
\usage{
JAGS_formula_design(fit, parameter = NULL)
}
\arguments{
\item{fit}{a fitted object returned by \code{\link[=JAGS_fit]{JAGS_fit()}}.}

\item{parameter}{optional formula parameter name. If \code{NULL}, all stored
formula designs are returned.}
}
\value{
A named list of formula designs, or one formula design when
\code{parameter} is supplied. Returns \code{NULL} when no formula design
metadata is stored on \code{fit}.
}
\description{
Returns the fitted formula design metadata stored by
\code{\link[=JAGS_fit]{JAGS_fit()}}. The design contains the processed formula, fitted model frame,
exact model matrix used for JAGS data construction, JAGS-safe coefficient
names, contrast and factor-level metadata, rank diagnostics, prior metadata,
and formula-scale information.
}
\seealso{
\code{\link[=JAGS_fit]{JAGS_fit()}} \code{\link[=JAGS_formula]{JAGS_formula()}}
}
