[R-sig-ins] how to convert a claims development aggregates into the class "triangle" "matrix" with Chain Ladder Package

Charles Thuo tcmuigai at gmail.com
Mon Apr 27 09:07:11 CEST 2015


 I have claims development data  that has already aggregate into the
triangles as shown below;

When i read the data into R using the following command:

d<- read.table(file="clipboard",sep="\t",header=TRUE,check.names=FALSE) it
yields a data frame.

However when i check the class of sample data in Chain Ladder

> class(RAA)
[1] "triangle" "matrix"
>
 How can i convert my data to be the same class as RAA


Charles.

	[[alternative HTML version deleted]]



More information about the R-SIG-insurance mailing list