cont_wide_fun.Rd
Function for continuous wide summaries
cont_wide_fun( value, digit_fun = sig, id = NULL, digits = 3, na_fill = "--", ... )
value | the data to summarize |
---|---|
digit_fun | a function to format digits in the summaries |
id | a vector of subject IDs; same length as |
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
.
#> # A tibble: 1 × 1 #> summary #> <chr> #> 1 0.115 (1.01) [100]