validate_maraca_plot | R Documentation |
This will produce the 4 validation datasets.
validate_maraca_plot(x, ...)
x |
An object of S3 class 'maracaPlot'. |
... |
Not used. |
Creates a list of datasets for validation purposes.
data(hce_scenario_a)
hce_test <- maraca(
data = hce_scenario_a,
step_outcomes = c("Outcome I", "Outcome II", "Outcome III", "Outcome IV"),
last_outcome = "Continuous outcome",
fixed_followup_days = 3 * 365,
column_names = c(outcome = "GROUP", arm = "TRTP", value = "AVAL0"),
arm_levels = c(active = "Active", control = "Control"),
compute_win_odds = TRUE
)
p <- plot(hce_test)
validate_maraca_plot(p)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.