JointSurvival: Joint Survival Probability

Description Usage Arguments Examples

View source: R/JointSurvival.R

Description

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

Usage

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

Arguments

x

A vector 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
ages<-c(34,45,52,65)
JointSurvival(ages,10,CSO80FALB)

JoaquinAuza/DetLifeInsurance documentation built on Sept. 15, 2020, 3:34 p.m.