Given a detailed results dataframe and a specific scenario identifier, create a scatterplot of the number of loss events versus the annual loss expected. This provides a detailed view on the results for a particular scenario.

generate_scatterplot(simulation_results, scenario_id)

Arguments

simulation_results

Simulation results from run_simulations.

scenario_id

ID of the scenario to display.

Value

A ggplot object.

Examples

data(simulation_results) generate_scatterplot(simulation_results, scenario_id = 50)