Plot yearly ECC density (highcharts)
Usage
plot_ecc_density(
data,
prob = 0.95,
title = "Probability Density of Claim Costs",
subtitle = "As percent of limit, 2001-2019 average ECC with %s VaR",
...
)
Arguments
- data
output of wc_ecc
- prob
which percentile threshold(s) to draw
- title
chart title
- subtitle
chart subtitle