ard_strata | R Documentation |
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.
ard_strata(.data, .by = NULL, .strata = NULL, .f, ...)
.data |
( |
.by , .strata |
(
These argument should not include any columns that appear in the |
.f |
( |
... |
Additional arguments passed on to the |
an ARD data frame of class 'card'
ard_strata(
ADSL,
by = ARM,
.f = ~ ard_continuous(.x, variables = AGE)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.