ungroup_stats: Ungroup non-numeric statistics

View source: R/utils_factor.R

ungroup_statsR Documentation

Ungroup non-numeric statistics

Description

Ungroups grouped non-numeric statistics within input vectors .formats, .labels, and .indent_mods.

Usage

ungroup_stats(stat_out, .formats, .indent_mods)

Arguments

stat_out

(named list of numeric)
list of numeric statistics containing the statistics to ungroup.

.formats

(named character or list)
formats for the statistics. See Details in analyze_vars for more information on the "auto" setting.

.indent_mods

(named integer)
indent modifiers for the labels. Defaults to 0, which corresponds to the unmodified default behavior. Can be negative.

Value

A list with modified elements stat_out, .formats, .labels, .levels, and .indent_mods.

See Also

a_summary() which uses this function internally.


tern documentation built on April 4, 2025, 12:10 a.m.