.nesting_rename_ard_columns | R Documentation |
If variable
is provided, adds the standard variable
column to x
. If by
/strata
are
provided, adds the standard group##
column(s) to x
and renames the provided columns to
group##_level
in x
, where ##
is determined by the column's position in c(by, strata)
.
.nesting_rename_ard_columns(x, variable = NULL, by = NULL, strata = NULL)
x |
( |
variable |
( |
by |
( |
strata |
( |
a tibble
ard <- nest_for_ard(
data =
ADAE |>
dplyr::left_join(ADSL[c("USUBJID", "ARM")], by = "USUBJID") |>
dplyr::filter(AOCCSFL %in% "Y"),
by = "ARM",
strata = "AESOC",
rename_columns = FALSE
)
cards:::.nesting_rename_ard_columns(ard, by = "ARM", strata = "AESOC")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.