Create continuous summary data frame
cont_table_data(
data,
cols,
by = ".total",
panel = by,
wide = FALSE,
all_name = "all",
digits = new_digits(),
id_col = "ID",
na_fill = "--",
fun = cont_long_fun
)
the data frame to summarize; the user should filter or subset
so that data
contains exactly the records to be summarized; pmtables will
not add or remove rows prior to summarizing data
the columns to summarize; may be character vector or quosure
grouping variable name
paneling variable name
logical
; if TRUE
, output will be wide; output will be long
otherwise
label for full data summary
named list specifying digits
argument for digit_fun
the ID column name
value to fill with when all values in the summary are missing
continuous data summary function