Survival: Survival Probability

Description Usage Arguments Examples

View source: R/Survival.R

Description

Calculates the probability of survival given a mortality table for an individual or a group.

Usage

1
Survival(x, n, data, prop = 1)

Arguments

x

An integer or a vector including only integers representing the age of each individual.

n

An integer. The term.

data

A data.frame of the mortality table, with the first column being the age and the second one, the probability of death.

prop

A numeric value. The proportion of the mortality table used, between 0 and 1.

Examples

1
2
Survival(20,2,CSO58MANB,1)
Survival(31,33,CSO80MANB,0.8)

DetLifeInsurance documentation built on Jan. 13, 2021, 11 a.m.