condense_quantitative_rows: Condense quantitative variable rows only

View source: R/table2_utils.R

condense_quantitative_rowsR Documentation

Condense quantitative variable rows only

Description

Collapses multi-row continuous and survival variables into single rows while preserving all categorical variable rows (including binary). Only applies to descriptive tables from desctable().

Usage

condense_quantitative_rows(df, indent_groups = TRUE)

Arguments

df

Data.table or data frame

indent_groups

Logical. Whether to apply indentation formatting.

Value

A data.table with condensed continuous/survival rows


summata documentation built on May 7, 2026, 5:07 p.m.