Skip to contents

Data I/O

Load, validate and inspect simulation outputs.

read_simulation()
Load simulation outputs into the dynasimR standard format
load_example_data()
Load the package-bundled example dataset
validate_dynasimR_data()
Validate a dynasimR_data object
scenario_meta
Scenario metadata for Profile A and Profile B
survival_params
Example Weibull event-time parameters by priority category

Time-to-event analysis

Kaplan-Meier, Cox regression and associated plots.

km_estimate()
Kaplan-Meier estimator for simulation data
cox_model()
Cox proportional-hazards model for simulation data
plot_km()
Kaplan-Meier curves
plot_forest()
Forest plot of Cox hazard ratios

Policy effects

Policy A vs. Policy B quantification.

policy_effect()
Quantify policy effect (policy A vs. policy B)
plot_policy()
Policy effect bar chart with CI whiskers

Autonomy trade-off

AL0-AL5 event-vs-compliance analysis.

al_efficiency()
Compute AL-Efficiency ratio (event reduction vs. compliance)
plot_al_tradeoff()
Autonomy-level trade-off plot: event reduction vs. compliance
plot_radar()
Radar chart of metrics across scenarios

Compliance / Entity flow

Compliance Index, throughput, bottlenecks.

compute_compliance_index()
Compliance Index
stage_throughput()
Stage throughput analysis
detect_bottlenecks()
Bottleneck detection across processing stages
resource_comparison()
Compare outcomes across resource configurations

Sensitivity analysis

morris_screening()
Morris-style sensitivity screening from simulation replicates
tornado_data()
Tornado-diagram data from one-at-a-time perturbation

Profile B helpers

progress_trajectory()
Progress-score trajectory analysis (Profile B)
compute_wait_gap_index()
Wait-Gap Index (Profile B)
group_effect()
Between-group prioritisation effect (Profile B)
compute_completion_analysis()
Completion-outcome analysis (multinomial)
spatial_supply_demand()
Supply-Demand Index (SDI) per region
plot_progress_curves()
Progress-score trajectory plot (Profile B)
plot_sdi_map()
Supply-Demand Index choropleth
plot_cost_effectiveness()
Cost-effectiveness plane and CEAC curve

Visualisation

plot_map()
2D entity map snapshot
plot_scenario_heatmap()
Scenario comparison heatmap
plot_timeline()
Time-series plot of a simulation metric
theme_dynasimR()
ggplot2 theme for dynasimR figures
dynasimR_colors()
Colour palette for dynasimR plots
scale_color_group_dynasimR()
Colour scale for entity group
scale_fill_group_dynasimR()
Fill scale for entity group
scale_color_policy_dynasimR()
Colour scale for policy

Manuscript export

export_figure()
Export a ggplot in publication-ready format
export_latex_table()
Export a tibble as a publication-quality LaTeX table
fill_placeholders()
Fill [XX_*] placeholders in a LaTeX manuscript

Shiny dashboard

launch_app()
Launch the dynasimR Shiny dashboard
check_app_dependencies()
Check availability of Shiny-app dependencies