ard_smd_smd {cardx} | R Documentation |
ARD Standardized Mean Difference
Description
Standardized mean difference calculated via smd::smd()
with na.rm = TRUE
.
Additionally, this function add a confidence interval to the SMD when
std.error=TRUE
, which the original smd::smd()
does not include.
Usage
ard_smd_smd(data, by, variables, std.error = TRUE, conf.level = 0.95, ...)
Arguments
data |
( |
by |
( |
variables |
( |
std.error |
(scalar |
conf.level |
(scalar |
... |
arguments passed to |
Value
ARD data frame
Examples
ard_smd_smd(cards::ADSL, by = SEX, variables = AGE)
ard_smd_smd(cards::ADSL, by = SEX, variables = AGEGR1)
[Package cardx version 0.2.0 Index]