% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/postprocess_theta.R
\name{postprocess_theta}
\alias{postprocess_theta}
\title{Post-process Parameter Vector for Generalized Heckman Models}
\usage{
postprocess_theta(theta_par, NXS, NXO, NE, NV, XS, XO, outcomeS, outcomeC)
}
\arguments{
\item{theta_par}{Numeric vector of estimated parameters on the optimization scale.}

\item{NXS}{Integer. Number of covariates in the selection equation.}

\item{NXO}{Integer. Number of covariates in the outcome equation.}

\item{NE}{Integer. Number of scale parameters.}

\item{NV}{Integer. Number of correlation parameters.}

\item{XS}{Design matrix for the selection equation.}

\item{XO}{Design matrix for the outcome equation.}

\item{outcomeS}{Design matrix or variable for the scale model.}

\item{outcomeC}{Design matrix or variable for the correlation model.}
}
\value{
A named numeric vector.
}
\description{
This helper assigns names to a generalized Heckman parameter vector and,
for intercept-only scale/correlation models, maps log(sigma) and atanh(rho)
to sigma and rho.
}
\keyword{internal}
