plot.checkTriangleInflation: Plot method for a checkTriangleInflation object

View source: R/TriangleTests.R

plot.checkTriangleInflationR Documentation

Plot method for a checkTriangleInflation object

Description

plot.checkTriangleInflation, a method to plot the output of checkTriangleInflation. It is designed to give a quick overview of a checkTriangleInflation object and to check the inflation regression curves.

Usage

## S3 method for class 'checkTriangleInflation'
plot(x, col.line = "black", type = "b", xlab = "dev. period", ylab = NULL, ...)

Arguments

x

output from checkTriangleInflation

col.line

Default: "black". Line color

type

Default: "b". What type of plot should be drawn

xlab

Default: "dev. period". X axis label

ylab

Default: NULL. Y axis label

...

optional arguments. See plot.default for more details.

Details

plot.cyeff.test plots all the columns of the triangle (Development Periods) against the regression curves.

Author(s)

Marco De Virgilis devirgilis.marco@gmail.com

See Also

See Also checkTriangleInflation, summary.checkTriangleInflation

Examples

test <- checkTriangleInflation(MedMal$MedMalOutstanding / MedMal$MedMalOpen)
plot(test)

ChainLadder documentation built on July 9, 2023, 5:12 p.m.