.format_ttest_results {cardx} | R Documentation |
Convert t-test to ARD
Description
Convert t-test to ARD
Usage
.format_ttest_results(by = NULL, variable, lst_tidy, paired, ...)
Arguments
by |
( |
variable |
( |
lst_tidy |
(named |
paired |
a logical indicating whether you want a paired t-test. |
... |
passed to |
Value
ARD data frame
Examples
cardx:::.format_ttest_results(
by = "ARM",
variable = "AGE",
paired = FALSE,
lst_tidy =
cards::eval_capture_conditions(
stats::t.test(ADSL[["AGE"]] ~ ADSL[["ARM"]], paired = FALSE) |>
broom::tidy()
)
)
[Package cardx version 0.2.1 Index]