View source: R/summary-functions.R
cont_wide_fun | R Documentation |
Function for continuous wide summaries
cont_wide_fun(value, digit_fun = sig, digits = 3, na_fill = "--", ...)
value |
the data to summarize |
digit_fun |
a function to format digits in the summaries |
digits |
the number of digits in the summary; the current implementation
passes |
na_fill |
value to fill with when all values in the summary are missing |
... |
not used |
A tibble with one row and one column named summary
; the summary
has this format: mean (sd) [count]
for all non-missing data in value
.
pmtables:::cont_wide_fun(rnorm(100))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.