View source: R/format_exp_duration.R
format_exp_duration | R Documentation |
Format Exposure Duration Analysis
format_exp_duration(
outdata,
display_col = c("n", "prop", "n_cum", "prop_cum", "total"),
digits_prop = 1,
display_stat = c("mean", "sd", "se", "median", "q1 to q3", "range")
)
outdata |
A metadata object created by |
display_col |
Column wants to display on the table. "n_cum", "prop_cum" can additionally be selected.
|
digits_prop |
Number of digits for proportion columns. |
display_stat |
A vector of statistics term name.
The term name could be selected from
|
A list of analysis raw datasets.
meta <- meta_sl_exposure_example()
meta |>
prepare_exp_duration(population = "apat", parameter = "expdur") |>
format_exp_duration(display_col = c("n", "prop", "total"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.