View source: R/HelperFunctions.R
| deathBenefit.linearDecreasing | R Documentation | 
The death benefit will be the full sumInsured for the first year after the
deferral period and then decrease linearly 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.linearDecreasing(len, params, values)
len | 
 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)  | 
params | 
 The full parameter set of the insurance contract (including all inherited values from the tariff and the profit participation)  | 
values | 
 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.