Learn R Programming

ProfileLadder (version 0.2.2)

mcBreaks: Access Markov Chain Breaks for Run-Off Triangle Increments

Description

Retrieves the Markov chain components from the output of the incrExplor() function or the mcReserve() function. In particular, the function returns the set of breaks used to define the bins for the incremental run-off triangle increments.

Usage

mcBreaks(object)

Value

The vector of the break points that define the set of bins for the run-off triangle increments.

Arguments

object

An object of the class profileLadder returned from the function mcReserve() or an object of the class mcSetup returned from the function incrExplor().

See Also

mcReserve(), incrExplor(), mcStates(), mcTrans()

Examples

Run this code
## DEFAULT performance of the incrExplor() function and the MACRAME algorithm
output1 <- incrExplor(CameronMutual)
output2 <- mcReserve(CameronMutual)

## Extracting the DEFAULT break points from both outputs
mcBreaks(output1)
mcBreaks(output2)

## Extracting the corresponding break points for 4 Markov states
mcBreaks(incrExplor(CameronMutual, states = 4))

Run the code above in your browser using DataLab