Manipulation of Individual Claim Amounts
severity
is a generic function created to manipulate individual
claim amounts. The function invokes particular methods which
depend on the class
of the first argument.
severity(x, ...) ## Default S3 method: severity(x, bycol = FALSE, drop = TRUE, ...)
x |
an R object. |
bycol |
logical; whether to “unroll” horizontally
( |
... |
further arguments to be passed to or from other methods. |
drop |
logical; if |
Currently, the default method is equivalent to
unroll
. This is liable to change since the link between
the name and the use of the function is rather weak.
A vector or matrix.
Vincent Goulet vincent.goulet@act.ulaval.ca and Louis-Philippe Pouliot
severity.portfolio
for the original motivation of these
functions.
x <- list(c(1:3), c(1:8), c(1:4), c(1:3)) (mat <- matrix(x, 2, 2)) severity(mat) severity(mat, bycol = TRUE)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.