| shuffle_card | R Documentation |
cardsThis function ingests an ARD object of class card and shuffles the information to prepare
for analysis. Helpful for streamlining across multiple ARDs.
shuffle_card(
x,
by = NULL,
trim = TRUE,
order_rows = TRUE,
fill_overall = "Overall {colname}",
fill_hierarchical_overall = "Any {colname}"
)
x |
an ARD data frame of class 'card' |
by |
Grouping variable(s) used in calculations. Defaults to |
trim |
logical representing whether or not to trim away |
order_rows |
logical representing whether or not to apply
|
fill_overall |
scalar to fill missing grouping or variable levels. If a
character is passed, then it is processed with |
fill_hierarchical_overall |
scalar to fill variable levels for overall
hierarchical calculations. If a character is passed, then it is processed
with |
a tibble
## Not run:
cards::bind_ard(
cards::ard_categorical(cards::ADSL, by = "ARM", variables = "AGEGR1"),
cards::ard_categorical(cards::ADSL, variables = "ARM")
) |>
shuffle_card()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.