Logistic Regression Summary Table Constructor Function
Source:R/logistic_regression.R
logistic_summary_by_flag.Rd
Constructor for content functions to be used in summarize_logistic()
to summarize
logistic regression results. This function is a wrapper for rtables::summarize_row_groups()
.
Usage
logistic_summary_by_flag(
flag_var,
na_str = default_na_str(),
.indent_mods = NULL
)
Arguments
- flag_var
(
string
)
variable name identifying which row should be used in this content function.- na_str
(
string
)
string used to replace allNA
or empty values in the output.- .indent_mods
(named
integer
)
indent modifiers for the labels. Defaults to 0, which corresponds to the unmodified default behavior. Can be negative.