Description Usage Details Examples
A class which describes the mortality for a policyholder.
The params
argument should be a list with x
for the age and
table
for the table. See the examples below.
1 2 3 4 5 6 7 8 9 10 11 | mortassumptions(params)
kpx(k, mort)
kdeferredqx(k, mort)
## S3 method for class 'mortassumptions'
kpx(k, mort)
## S3 method for class 'mortassumptions'
kdeferredqx(k, mort)
|
The kpx
function can be used to calculate survival
probabilities and the kdeferredqx
function can be used to calculate
probability of death in a given year. See the examples below.
1 2 3 4 5 6 | malemort = mortassumptions(list(x = 50, table = "MaleMort91"))
femalemort = mortassumptions(list(x = 30, table = "FemaleMort91"))
# calculate probabilities
kpx(5, malemort)
kdeferredqx(2, femalemort)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.