Usage
## S3 method for class 'matrix':
as.triangle(Triangle,origin="origin", dev="dev", value="value",...)
## S3 method for class 'data.frame':
as.triangle(Triangle, origin="origin", dev="dev", value="value",...)
## S3 method for class 'triangle':
as.data.frame(x, row.names=NULL, optional, lob=NULL, na.rm=FALSE, ...)
as.triangle(Triangle, origin="origin", dev="dev", value="value",...)
## S3 method for class 'triangle':
plot(x, type = "b", xlab = "dev. period", ylab = NULL, lattice=FALSE, ...)
Arguments
origin
name of the origin period, default is "origin".
dev
name of the development period, default is "dev".
value
name of the value, default is "value".
row.names
default is set to NULL an will merge origin
and dev. period to create row names.
lob
default is NULL. The idea is to use lob (line
of business) as an additional column to label a triangle in a long format, see the
examples for more details.
na.rm
logical. Remove missing values?
x
a matrix of class 'triangle'
xlab
a label for the x axis, defaults to 'dev. period'
ylab
a label for the y axis, defaults to NULL
lattice
logical. If FALSE the function
matplot is used to plot the developments of the
triangle in one graph, otherwise the xyplot function
o ...
arguments to be passed to other methods