discount-Interest-BenefitAnnuity-method: discount

Description Usage Arguments Examples

Description

discount a BenefitAnnuity object

Usage

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

Arguments

interest

object of class Interest

benefit

object of class Benefit

tod

the time of the benefit payment

Examples

1
2
3
4
5
discount(Interest(), BenefitAnnuity(), tod = 2.1)
discount(Interest(), BenefitAnnuity(), tod = NA)
discount(Interest(), BenefitAnnuity(), tod = 10)
discount(Interest(), BenefitAnnuity(t = c(1, 1, 1), value = c(3, 2, 2)), tod = 3)
discount(Interest(), BenefitAnnuity(t = c(1, 1, 1), value = c(3, 2, 2)), tod = 0.5)

merlinoa/diehard3000 documentation built on May 22, 2017, 4:15 a.m.