Calculates and formats summary statistics for continuous data
summarize_continuous(data, variable, by, digits, var_label, stat_display,
missing)
data frame
Character variable name in data
that will be tabulated
Character variable name in data
that Summary statistics for
variable
are stratified
integer indicating the number of decimal places to be used.
string label
String that specifies the format of the displayed statistics.
The syntax follows glue
inputs with n, N, and p as input options.
whether to include NA
values in the table. missing
controls
if the table includes counts of NA
values: the allowed values correspond to
never ("no"
), only if the count is positive ("ifany"
) and even for
zero counts ("always"
). Default is "ifany"
.
formatted summary statistics in a tibble.