diff --git a/man/default_stats_formats_labels.Rd b/man/default_stats_formats_labels.Rd index 810ef3a119..51e2b25d19 100644 --- a/man/default_stats_formats_labels.Rd +++ b/man/default_stats_formats_labels.Rd @@ -41,7 +41,7 @@ get_stat_names(stat_results, stat_names_in = NULL) get_formats_from_stats(stats, formats_in = NULL) -get_labels_from_stats(stats, labels_in = NULL, row_nms = NULL) +get_labels_from_stats(stats, labels_in = NULL, levels_per_stats = NULL) get_indents_from_stats(stats, indents_in = NULL, row_nms = NULL) @@ -77,14 +77,14 @@ character vector from \code{\link[formatters:list_formats]{formatters::list_vali \item{labels_in}{(named \code{character})\cr inserted labels to replace defaults.} +\item{indents_in}{(named \code{vector})\cr inserted indent modifiers to replace defaults (default is \code{0L}).} + \item{row_nms}{(\code{character})\cr row names. Levels of a \code{factor} or \code{character} variable, each of which the statistics in \code{.stats} will be calculated for. If this parameter is set, these variable levels will be used as the defaults, and the names of the given custom values should correspond to levels (or have format \code{statistic.level}) instead of statistics. Can also be variable names if rows correspond to different variables instead of levels. Defaults to \code{NULL}.} -\item{indents_in}{(named \code{vector})\cr inserted indent modifiers to replace defaults (default is \code{0L}).} - \item{type}{(\code{string})\cr \code{"numeric"} or \code{"counts"}.} \item{include_pval}{(\code{flag})\cr same as the \code{add_pval} argument in \code{\link[=get_stats]{get_stats()}}.} diff --git a/man/ungroup_stats.Rd b/man/ungroup_stats.Rd index de07500cbc..0a6241a18f 100644 --- a/man/ungroup_stats.Rd +++ b/man/ungroup_stats.Rd @@ -4,21 +4,19 @@ \alias{ungroup_stats} \title{Ungroup non-numeric statistics} \usage{ -ungroup_stats(x, .formats, .labels, .indent_mods) +ungroup_stats(stat_out, .formats, .indent_mods) } \arguments{ -\item{x}{(named \code{list} of \code{numeric})\cr list of numeric statistics containing the statistics to ungroup.} +\item{stat_out}{(named \code{list} of \code{numeric})\cr list of numeric statistics containing the statistics to ungroup.} \item{.formats}{(named \code{character} or \code{list})\cr formats for the statistics. See Details in \code{analyze_vars} for more information on the \code{"auto"} setting.} -\item{.labels}{(named \code{character})\cr labels for the statistics (without indent).} - \item{.indent_mods}{(named \code{integer})\cr indent modifiers for the labels. Defaults to 0, which corresponds to the unmodified default behavior. Can be negative.} } \value{ -A \code{list} with modified elements \code{x}, \code{.formats}, \code{.labels}, and \code{.indent_mods}. +A \code{list} with modified elements \code{stat_out}, \code{.formats}, \code{.labels}, \code{.levels}, and \code{.indent_mods}. } \description{ Ungroups grouped non-numeric statistics within input vectors \code{.formats}, \code{.labels}, and \code{.indent_mods}.