% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fullfit.R
\name{determine_effect_type}
\alias{determine_effect_type}
\title{Determine Effect Type Label}
\usage{
determine_effect_type(uni_raw, multi_raw, exponentiate, adjusted = FALSE)
}
\arguments{
\item{uni_raw}{Raw univariable data.table containing coefficient columns.
Used to detect effect type when \code{adjusted = FALSE}.}

\item{multi_raw}{Raw multivariable data.table containing coefficient columns.
Used to detect effect type when \code{adjusted = TRUE}.}

\item{exponentiate}{Logical or \code{NULL} controlling label selection:
\describe{
  \item{\code{TRUE}}{Force exponentiated labels (OR, HR, RR, Exp(Coef))}
  \item{\code{FALSE}}{Force coefficient labels (Coefficient, Adj. Coefficient)}
  \item{\code{NULL}}{Auto-detect from column names in raw data}
}}

\item{adjusted}{Logical. If \code{TRUE}, returns adjusted effect labels
(aOR, aHR, aRR, Adj. Coefficient) for multivariable results. If \code{FALSE},
returns unadjusted labels (OR, HR, RR, Coefficient) for univariable results.}
}
\value{
Character string with the effect measure label:
}
\description{
Identifies the appropriate effect measure label (OR, HR, RR, Coefficient,
aOR, aHR, aRR, Adj. Coefficient) based on model type, exponentiation setting,
and whether the estimate is adjusted (multivariable) or unadjusted (univariable).
}
\keyword{internal}
