ard_strata {cards} | R Documentation |
Stratified ARD
Description
General function for calculating ARD results within subgroups.
While the examples below show use with other functions from the cards package, this function would primarily be used with the statistical functions in the cardx functions.
Usage
ard_strata(.data, .by = NULL, .strata = NULL, .f, ...)
Arguments
.data |
( |
.by , .strata |
(
These argument should not include any columns that appear in the |
.f |
( |
... |
Additional arguments passed on to the |
Value
an ARD data frame of class 'card'
Examples
ard_strata(
ADSL,
.by = ARM,
.f = ~ ard_continuous(.x, variables = AGE)
)