# \donttest{
options(odin.verbose = FALSE)
example_config <- system.file("extdata", "example_config_dist.yaml", package = "MetaRVM")
# Run simulation
results <- metaRVM(example_config)
# Typically created through method chaining
summary_obj <- results$subset_data(disease_state = "H")$summarize(
group_by = c("age", "race"),
stats = c("median", "quantile"),
quantiles = c(0.25, 0.75)
)
# Direct plotting
summary_obj$plot()
# Plot with custom ggplot theme and confidence level
summary_obj$plot(theme = ggplot2::theme_bw())
# }
Run the code above in your browser using DataLab