Role-agnostic projection plot: observed and projected cumulative
values by cohort over development periods, with an optional
confidence band. The plotted column family is taken from x$loss
(the fit's standardized role – "loss" for CL / SA / BF / CC,
"premium" for an PremiumFit), so every projection-level fit
shares one implementation. The interval is drawn whenever the
<role>_total_se column is present and finite.
Arguments
- x
A projection-level fit (
CLFit,SAFit,BFFit,CCFit, orPremiumFit) with a$fullgrid and$loss/$groups/$cohort/$devslots.- conf_level
Confidence level for interval display. Default is
0.95.- show_interval
Logical; if
TRUE, show normal-approximation confidence intervals. Default isTRUE.- amount_divisor
Numeric scaling factor for y-axis labels of amount variables. Default is
1e8.- scales
Facet scale argument passed to
ggplot2::facet_wrap(). One of"fixed","free","free_x", or"free_y".- theme
A string passed to
.switch_theme().- nrow, ncol
Number of rows and columns for
ggplot2::facet_wrap().- ...
Additional arguments passed to
.switch_theme().
