ard_pairwise {cards} | R Documentation |
Pairwise ARD
Description
Utility to perform pairwise comparisons.
Usage
ard_pairwise(data, variable, .f, include = NULL)
Arguments
data |
( |
variable |
( |
.f |
( |
include |
( |
Value
list of ARDs
Examples
ard_pairwise(
ADSL,
variable = ARM,
.f = \(df) {
ard_complex(
df,
variables = AGE,
statistic = ~ list(ttest = \(x, data, ...) t.test(x ~ data$ARM)[c("statistic", "p.value")])
)
},
include = "Placebo" # only include comparisons to the "Placebo" group
)
[Package cards version 0.6.1 Index]