ard_stack {cards} | R Documentation |
Stack ARDs
Description
Stack multiple ARD calls sharing common input data
and by
variables.
Optionally incorporate additional information on represented variables (i.e.
big N's, missingness, attributes) and/or tidy for use in displays with
shuffle_ard()
.
Usage
ard_stack(
data,
by = NULL,
...,
.overall = FALSE,
.missing = FALSE,
.attributes = FALSE,
.shuffle = FALSE
)
Arguments
data |
( |
by |
( |
... |
( |
.overall |
( |
.missing |
( |
.attributes |
( |
.shuffle |
( |
Value
a transformed ARD data frame (of class 'card' if .shuffle = FALSE
)
Examples
ard_stack(
data = ADSL,
by = "ARM",
ard_categorical(variables = "AGEGR1"),
ard_continuous(variables = "AGE")
)
ard_stack(
data = ADSL,
by = "ARM",
ard_categorical(variables = "AGEGR1"),
ard_continuous(variables = "AGE"),
.shuffle = TRUE
)