powered by
This function ingests an ARD object and coalesces/renames a given pair of columns (variable and levels)
.shift_column_pair(x, col_pair)
a tibble
(data.frame) a data frame
data.frame
(character) character vector containing the column names for variables (first element) and their corresponding levels (second element)
character
ard_categorical(ADSL, by = "ARM", variables = "AGEGR1") |> cards:::.shift_column_pair(col_pair = c("group1", "group1_level"))
Run the code above in your browser using DataLab