Last chance! 50% off unlimited learning
Sale ends in
R package implementing general life insurance contracts
This package R6 classes to model traditional life insurance contracts like annuities, whole life insurances or endowments. All relevant quantities like premium decomposition, reserves and benefits over the whole contract period are calculated and potentially exported to 'Excel'. Mortalities are given using the 'MortalityTables' package.
install.packages('LifeInsureR')
hook
is a function, apply it to val
, otherwise return val
unchangedNA
entries of a vector with the previous non-NA valuecontractGrid()
val
is a function, evaluate it, otherwise return val
v
to length l
by repeating the last entry of the
vector.