View source: R/shift_ard_columns.R
| rename_ard_columns | R Documentation |
This function combines a pair of group/group_level or variable/variable_level columns into a
single column. The group_level or variable_level column is renamed according to the value of
the group or variable column, respectively.
rename_ard_columns(
x,
columns = c(all_ard_groups(), all_ard_variables()),
unlist = NULL
)
x |
( |
columns |
( |
unlist |
( |
data frame
ADSL |>
ard_categorical(by = ARM, variables = AGEGR1) |>
apply_fmt_fn() |>
rename_ard_columns(unlist = c(stat, stat_fmt))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.