format_base_char {metalite.sl} | R Documentation |
Format Baseline Characteristics Analysis
Description
Format Baseline Characteristics Analysis
Usage
format_base_char(
outdata,
display_col = c("n", "prop", "total"),
digits_prop = 1,
display_stat = c("mean", "sd", "se", "median", "q1 to q3", "range")
)
Arguments
outdata |
A metadata object created by |
display_col |
Column wants to display on the table.
The term could be selected from |
digits_prop |
Number of digits for proportion columns. |
display_stat |
A vector of statistics term name.
The term name could be selected from
|
Value
A list of analysis raw datasets.
Examples
meta <- meta_sl_example()
meta |>
prepare_base_char(population = "apat", parameter = "age;gender") |>
format_base_char()
[Package metalite.sl version 0.1.1 Index]