Visualise an object of class "CLFit".
Two plot types are supported:
"projection": observed and projected cumulative values by cohort over development periods. Whenmethod = "mack", optional confidence bands are drawn usingse_proj."reserve": reserve summary by cohort with optional error bars. Only available whenmethod = "mack".
Arguments
- x
An object of class
"CLFit".- type
Plot type. One of
"projection"or"reserve".- conf_level
Confidence level for interval display. Default is
0.95. Only used whenmethod = "mack".- show_interval
Logical; if
TRUE, show normal-approximation confidence intervals. Default isTRUE. Silently ignored whenmethod = "basic".- 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().
