Last data update: 2014.03.03

R: Cumulative triangle
get.cumulativeR Documentation

Cumulative triangle

Description

Switch from an incremental to a cumulative triangle

Usage

get.cumulative( triangle )

Arguments

triangle

An incremental run-off triangle

Value

The cumulative triangle

Note

The methods in this the DCL package works normally on incremental triangles

Author(s)

M.D. Martinez-Miranda, J.P. Nielsen and R. Verrall

See Also

get.incremental

Examples

data(NtriangleDCL)
get.cumulative(NtriangleDCL)

Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(DCL)
Loading required package: lattice
Loading required package: latticeExtra
Loading required package: RColorBrewer
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/DCL/get.cumulative.Rd_%03d_medium.png", width=480, height=480)
> ### Name: get.cumulative
> ### Title: Cumulative triangle
> ### Aliases: get.cumulative
> ### Keywords: manip
> 
> ### ** Examples
> 
> data(NtriangleDCL)
> get.cumulative(NtriangleDCL)
       [,1]  [,2]  [,3]  [,4]  [,5]  [,6]  [,7]  [,8] [,9] [,10]
 [1,]  6238  7069  7118  7125  7126  7127  7129  7130 7132  7135
 [2,]  7773  9154  9177  9181  9182  9185  9186  9187 9190    NA
 [3,] 10306 11399 11416 11421 11423 11423 11425 11427   NA    NA
 [4,]  9639 10634 10651 10657 10658 10663 10667    NA   NA    NA
 [5,]  9511 10897 10936 10940 10946 10951    NA    NA   NA    NA
 [6,] 10023 11365 11396 11412 11421    NA    NA    NA   NA    NA
 [7,]  9834 11258 11317 11341    NA    NA    NA    NA   NA    NA
 [8,] 10899 12402 12486    NA    NA    NA    NA    NA   NA    NA
 [9,] 11954 13658    NA    NA    NA    NA    NA    NA   NA    NA
[10,] 10989    NA    NA    NA    NA    NA    NA    NA   NA    NA
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>