R/common_graphs.R
generate_scatterplot-deprecated.RdGiven a detailed results dataframe and a specific scenario identifier, create a scatterplot of the number of loss events versus the total amount of expected annual loss expected for each simulation. This provides a detailed view on the results for a particular scenario.
Simulation results from run_simulations.
ID of the scenario to display.
A ggplot object.
Other result graphs:
exposure_histogram(),
generate_event_outcomes_plot(),
generate_heatmap(),
loss_exceedance_curve(),
loss_scatterplot()
if (FALSE) {
data(mc_simulation_results)
generate_scatterplot(mc_simulation_results, scenario_id = "RS-50")
}