Description Usage Arguments Examples
Discounts a DeathBenefit
object
1 2 | ## S4 method for signature 'Interest,BenefitDeath'
discount(interest, benefit, tod)
|
interest |
object of class |
benefit |
object of class |
tod |
time of death |
1 2 3 4 5 6 7 | discount(benefit = BenefitDeath(), interest = Interest(), tod = 2)
discount(benefit = BenefitDeath(), interest = Interest(), tod = NA)
discount(benefit = BenefitDeath(t = 10,
value = 1000),
interest = Interest(t = rep(1, times = 10),
rate = rep(c(0.03, 0.04), times = 5)),
tod = 8)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.