Description Usage Arguments Value Examples
Wrapper function for bmbstats
function to provide modular analysis for the Randomized Controlled Trials
1 2 3 4 5 6 7 8 9 10 11 12 13 | RCT_analysis(
data,
group,
treatment_label,
control_label,
pre_test,
post_test,
SESOI_lower = SESOI_lower_RCT_func,
SESOI_upper = SESOI_upper_RCT_func,
estimator_function = RCT_estimators,
control = model_control(),
na.rm = FALSE
)
|
data |
Data frame |
group |
Character vector indicating the name of the column in |
treatment_label |
Character vector indicating the label inside the |
control_label |
Character vector indicating the label inside the |
pre_test |
Character vector indicating the name of the column in |
post_test |
Character vector indicating the name of the column in |
SESOI_lower |
Function or numeric scalar. Default is |
SESOI_upper |
Function or numeric scalar. Default is |
estimator_function |
Function for providing RCT estimators. Default is |
control |
Control object returned from |
na.rm |
Should NAs be removed? Default is |
Object of class bmbstats_RCT_analysis
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | set.seed(1666)
data("vertical_jump_data")
rct_model <- RCT_analysis(
vertical_jump_data,
group = "Group",
treatment_label = "Treatment",
control_label = "Control",
pre_test = "Pre-test",
post_test = "Post-test",
control = model_control(boot_type = "perc", boot_samples = 500)
)
rct_model
plot(rct_model)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.