% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fullfit.R
\name{format_fullfit_combined}
\alias{format_fullfit_combined}
\title{Format combined fullfit output from formatted tables}
\usage{
format_fullfit_combined(
  uni_formatted,
  multi_formatted,
  uni_raw,
  multi_raw,
  predictors,
  columns,
  metrics,
  show_n,
  show_events,
  labels,
  exponentiate = NULL,
  conf_level = 0.95
)
}
\arguments{
\item{uni_formatted}{Formatted data.table from univariable screening.}

\item{multi_formatted}{Formatted data.table from multivariable model.}

\item{uni_raw}{Raw data.table with univariable coefficients.}

\item{multi_raw}{Raw data.table with multivariable coefficients.}

\item{predictors}{Character vector of all predictor names.}

\item{columns}{Character string specifying columns to show ("both", "uni", "multi").}

\item{metrics}{Character vector specifying metrics to show ("effect", "p").}

\item{show_n}{Logical whether to include sample size column.}

\item{show_events}{Logical whether to include events column.}

\item{labels}{Optional named character vector of variable labels.}

\item{exponentiate}{Optional logical for coefficient exponentiation.}

\item{conf_level}{Numeric confidence level for CI label.}
}
\value{
Combined data.table with aligned univariable and multivariable results.
}
\description{
Merges univariable and multivariable results into a single publication-ready
table with side-by-side display. Uses vectorized merge instead of per-variable loops.
}
\keyword{internal}
