Learn R Programming

ChainLadder (version 0.2.15)

summary.ata: Summary method for object of class 'ata'

Description

Summarize the age-to-age factors resulting from a call to the ata function.

Usage

# S3 method for ata
summary(object, digits=3, ...)

Value

A matrix.

Arguments

object

object resulting from a call to ata

digits

integer indicating the number of decimal places for rounding the factors. The default is 3. NULL indicates that rounding should take place.

...

not used

Author

Dan Murphy

Details

A call to ata produces a matrix of age-to-age factors with two attributes -- the simple and volume weighted averages. summary.ata creates a new matrix with the averages appended as rows at the bottom.

See Also

See also ata and print.ata

Examples

Run this code
y <- ata(RAA)
summary(y, digits=4)

Run the code above in your browser using DataLab