discount-Interest-BenefitDeath-method: discount

Description Usage Arguments Examples

Description

Discounts a DeathBenefit object

Usage

1
2
## S4 method for signature 'Interest,BenefitDeath'
discount(interest, benefit, tod)

Arguments

interest

object of class Interest

benefit

object of class DeathBenefit

tod

time of death

Examples

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)

merlinoa/diehard3000 documentation built on May 22, 2019, 6:52 p.m.