% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/table2_utils.R
\name{condense_table_rows}
\alias{condense_table_rows}
\title{Condense table rows for more compact display}
\usage{
condense_table_rows(df, indent_groups = TRUE)
}
\arguments{
\item{df}{Data.table with Variable and Group columns.}

\item{indent_groups}{Logical whether indentation will be applied (affects processing).}
}
\value{
Data.table with condensed rows.
}
\description{
Collapses multi-row variables into single rows for compact tables.
Continuous variables show only the first statistic row, binary categorical
variables show only the non-reference category, and survival variables
show only the median row.
}
\keyword{internal}
