Skip to contents

Creates a plot showing set identification bounds with bootstrap confidence intervals.

Usage

plot_bootstrap_ci(bootstrap_examples, config)

Arguments

bootstrap_examples

Data.frame. Bootstrap examples with standard errors.

config

List. Configuration object containing true parameter values.

Value

A ggplot2 object or NULL if insufficient data.

Examples

if (FALSE) { # \dontrun{
config <- create_default_config()
seeds <- generate_all_seeds(config)
results_main <- run_main_simulation(config, seeds)
bootstrap_demo <- run_bootstrap_demonstration(config, seeds)
bootstrap_examples <- analyze_bootstrap_results(
  results_main, bootstrap_demo, config
)
p5 <- plot_bootstrap_ci(bootstrap_examples, config)
if (!is.null(p5)) print(p5)
} # }