Ax: EPV of Insurance

Description Usage Arguments Details

View source: R/makehams.R

Description

Calculates the Expected Presented Value of various insurances

Usage

1
2
Ax(x = gl.g(x), s = 0, i = gl.g(i), m = 1, n = gl.g(w) - x, c = 0,
  e = 0, mt = 1, h = function(t) t^0)

Arguments

x

the current age

s

the select used so far

i

the interest rate

m

the compounding frequency

n

the length of the term

c

indicator of continuous (1 if continuous)

e

indicator of endowment (1 if endowment)

mt

the moment of the insurance

Details

By default calculates first moment of discrete, whole life insurance. Also, this function is not reliable when n < m. x can be a vector with length > 1 s can be a vector with length > 1 n can be a vector with length > 1


nathanesau/makehams documentation built on May 23, 2019, 12:19 p.m.