severity: Manipulation of Individual Claim Amounts
Description
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.
Usage
severity(x, ...)
# S3 method for default
severity(x, bycol = FALSE, drop = TRUE, ...)
Value
A vector or matrix.
Arguments
x
an R object.
bycol
logical; whether to “unroll” horizontally
(FALSE) or vertically (TRUE)
...
further arguments to be passed to or from other methods.
drop
logical; if TRUE, the result is coerced to the
lowest possible dimension.
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.
See Also
severity.portfolio for the original motivation of these
functions.