View source: R/assign_summary_digits.R
assign_summary_digits | R Documentation |
Used to assign the default formatting for variables summarized with
tbl_summary()
.
assign_summary_digits(data, statistic, type, digits = NULL)
data |
( |
statistic |
( |
type |
( |
digits |
( |
a named list
assign_summary_digits(
mtcars,
statistic = list(mpg = "{mean}"),
type = list(mpg = "continuous")
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.