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(x, .formats, .labels, .indent_mods)

Arguments

x

(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.

.labels

(named character)
labels for the statistics (without indent).

.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 x, .formats, .labels, and .indent_mods.

See Also

a_summary() which uses this function internally.


tern documentation built on June 22, 2024, 10:25 a.m.