format_column_headers_with_n_tex: Format column headers with n counts (TeX)

View source: R/table2_utils.R

format_column_headers_with_n_texR Documentation

Format column headers with n counts (TeX)

Description

Creates LaTeX-formatted column headers with sample size counts displayed below the column name in a stacked format.

Usage

format_column_headers_with_n_tex(col_names, n_row_data)

Arguments

col_names

Character vector of column names.

n_row_data

Named list or data.table row with n values for each column.

Value

Character vector with LaTeX-formatted headers including n counts.


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