Description Usage Arguments Value Author(s) Examples

Organise vector as matrix with triangle structure. Useful for reserving data. It may be easy to input data as vector. This function organises data in "CL"-format, which is a cohort-age (policy year-development) year matrix

1 | ```
vector.2.triangle(v,k)
``` |

`v` |
vector. Length k*(k+1)/2 |

`k` |
integer. Dimension |

The value is a list in `apc.data.list`

format.

`m` |
matrix with "CL" format Dimension kxk. Upper left triangle filled by v, row by row. Remaining entries NA |

Bent Nielsen <[email protected]> 7 Feb 2015

1 2 3 | ```
#########################
vector.2.triangle(1:10,4)
``` |

apc documentation built on May 29, 2017, 2:48 p.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.