cont_wide_fun: Function for continuous wide summaries

View source: R/summary-functions.R

cont_wide_funR Documentation

Function for continuous wide summaries

Description

Function for continuous wide summaries

Usage

cont_wide_fun(value, digit_fun = sig, digits = 3, na_fill = "--", ...)

Arguments

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 digits to digit_fun()

na_fill

value to fill with when all values in the summary are missing

...

not used

Value

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.

Examples

pmtables:::cont_wide_fun(rnorm(100))


metrumresearchgroup/pmtables documentation built on Dec. 22, 2024, 1:34 a.m.