Learn R Programming

evaluator (version 0.4.3)

generate_event_outcomes_plot: Display the distribution of threat events contained vs. realized across all domains

Description

Creates a barbell plot showing the number and percentage of events contained (not resulting in loss) vs the number and percentage of loss events (threat events resulting in losses).

Usage

generate_event_outcomes_plot(domain_summary, domain_id = domain_id)

Arguments

domain_summary

Domain-level summary from domain_summary.

domain_id

Variable to group plot by.

Value

A ggplot object.

See Also

Other result graphs: exposure_histogram(), generate_heatmap(), generate_scatterplot-deprecated, loss_exceedance_curve(), loss_scatterplot()

Examples

Run this code
# NOT RUN {
data(mc_domain_summary)
generate_event_outcomes_plot(mc_domain_summary)
# }

Run the code above in your browser using DataLab