Description Usage Arguments Value See Also Examples
View source: R/common_graphs.R
Given a results dataframe for a specific scenario, create a histogram of the annualized loss exposure. This provides a detailed view on the results for a particular scenario.
1 | exposure_histogram(simulation_result, bins = 30, show_var_95 = FALSE)
|
simulation_result |
Simulation result from |
bins |
Number of bins to use for the histogram. |
show_var_95 |
Set to TRUE to show the 95 percentile value at risk line. |
A ggplot object.
Other result graphs:
generate_event_outcomes_plot()
,
generate_heatmap()
,
generate_scatterplot-deprecated
,
loss_exceedance_curve()
,
loss_scatterplot()
1 2 3 | data(mc_simulation_results)
result <- mc_simulation_results$results[[1]]
exposure_histogram(result)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.