Learn R Programming

ChainLadder (version 0.2.15)

plot.checkTriangleInflation: 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 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.

Author

Marco De Virgilis devirgilis.marco@gmail.com

Details

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

See Also

See Also checkTriangleInflation, summary.checkTriangleInflation

Examples

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

Run the code above in your browser using DataLab