Description Usage Arguments Examples
View source: R/rct-analysis-S3.R
S3 method for plotting RCT_analysis
results
1 2 |
x |
Object of class |
type |
Type of plot. Options are "boot", "control-pre-post", "treatment-pre-post", "control-change", "treatment-change", "change", "control-paired-change", "treatment-paired-change", "change-distribution", "effect-distribution", "adjusted-treatment-responses", and "treatment-responses". Default is "boot" |
... |
Extra arguments. Use |
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.