plot.profileLadder {ProfileLadder} | R Documentation |
Plotting Development Profiles
Description
The function provides a graphical representation of the completed functional
profiles estimated by the PARALLAX, REACT, or MACRAME algorithm (see Maciak,
Mizera, and Pesta (2022) for further details). The function takes an object
of the class profileLadder
which is the output of the
parallelReserve()
function or the mcReserve()
function.
Alternatively, the function can be also applied to visualise the run-off triangle
itself—if the triangle is of the class profileLadder
.
Usage
## S3 method for class 'profileLadder'
plot(x, xlab = "Development Year", ylab = "Cumulative Claims", main = "", ...)
Arguments
x |
an object of the class |
xlab |
label for the x axis |
ylab |
label for the y axis |
main |
title of the plot |
... |
other graphical parameters to plot |
Value
A graph with the observed functional development profiles from the input run-off triangle, the estimated/predicted functional segments (i.e., functional profile completion provided by the corresponding estimation method—PARALLAX, REACT, or MACRAME) the and the true future profiles (if these are available)
See Also
as.profileLadder()
, parallelReserve()
, mcReserve()
Examples
## completed run-off triangle with the 'unknown' (future) payments
print(triangle <- GFCIB$bodilyInjury[1:15, 1:15])
plot(mcReserve(triangle))
## completed run-off triangle with unknown future
print(observed(triangle))
plot(mcReserve(observed(triangle)))
## the run-off triangle with future payments without MACRAME completion
plot(as.profileLadder(triangle))