Skip to contents

[Deprecated]

Constructor function which creates a combined formatted analysis function.

Usage

create_afun_summary(.stats, .formats, .labels, .indent_mods)

Arguments

.stats

(character)
statistics to select for the table.

.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 vector of integer)
indent modifiers for the labels. Each element of the vector should be a name-value pair with name corresponding to a statistic specified in .stats and value the indentation for that statistic's row label.

Value

Combined formatted analysis function for use in analyze_vars().

Note

This function has been deprecated in favor of direct implementation of a_summary().

See also