Sets a list of parameters for summaries of descriptive statistics. Typically used internally to specify
details for s_summary(). This function family is mainly used by analyze_vars().
Usage
control_analyze_vars(
conf_level = 0.95,
quantiles = c(0.25, 0.75),
quantile_type = 2,
test_mean = 0
)Arguments
- conf_level
(
proportion)
confidence level of the interval.- quantiles
(
numeric)
of length two to specify the quantiles to calculate.- quantile_type
(
numeric)
between 1 and 9 selecting quantile algorithms to be used. Default is set to 2 as this matches the default quantile algorithm in SASproc univariateset byQNTLDEF=5. This differs from R's default. See more abouttypeinstats::quantile().- test_mean
(
numeric)
to test against the mean under the null hypothesis when calculating p-value.
Note
Deprecation cycle started for control_summarize_vars as it is going to renamed into
control_analyze_vars. Intention is to reflect better the core underlying rtables
functions; in this case analyze_vars() wraps rtables::analyze().