Displaying 1 result from an estimated 1 matches for "incrementaltriangle".
2008 Sep 03
0
Graphics: Improving a Lattice plot - can it be done ?
...tion, but can I improve the Lattice plot produced by the following code? The type of figure I would like to produce in each segment of the plot appears below the code.
library(reserving) # http://toolkit.pbwiki.com/RToolkit <http://toolkit.pbwiki.com/RToolkit>
data(GenIns)
GenInsInc <- incrementalTriangle(GenIns)
basicCL <- ChainLadder(GenIns, quarterly=FALSE, usetail=FALSE, YOA=c(1997:2006))
# lattice plot by underwriting years
plot(basicCL, byYOA=TRUE)
Instead of the ordinary "confidence bands" produced by the re lines, I would like to display a type of "funnel", as illust...