View source: R/HelperFunctions.R
deathBenefit.annuityDecreasing | R Documentation |
The death benefit will be the full sumInsured for the first year after the
deferral period and then decrease like an annuity to 0 at the end of the policyPeriod.
This can be used with the deathBenefit
parameter for insurance
contracts, but should not be called directly.
deathBenefit.annuityDecreasing(interest)
interest |
The interest rate of the loan, which is underlying the insurance. |
This function is a mere generator function, which takes the interest rate and generates a function that describes a decreasing annuity.
The generated function has the following parameters:
The desired length of the Cash flow vector (can be shorter than the policyPeriod, if q_x=1 before the end of the contract, e.g. for life-long insurances)
The full parameter set of the insurance contract (including all inherited values from the tariff and the profit participation)
The values calculated from the insurance contract so far
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.