.pair_columns {cards} | R Documentation |
This function ingests an ARD object and finds pairs of columns based on those requested for coalescing/renaming
.pair_columns(x, columns)
x |
( |
columns |
( |
a list of column pairs (as character vectors)
ard_categorical(ADSL, by = "ARM", variables = "AGEGR1") |>
cards:::.pair_columns(columns = c("group1", "group1_level", "variable", "variable_level"))