Learn R Programming

sstModel (version 1.0.0)

mvmLife: MVM life computation

Description

compute MVM life.

Usage

mvmLife(cashflow.table, rates, cov.mat, coc)

Arguments

cashflow.table

a data.table.

rates

a numeric vector of rates, with continuous compounding. These should start for time to maturity 1 and go until 1 + last cashflow time to maturity.

cov.mat

covariance matrix of life risks.

coc

a numeric value. The cost of capital.

Value

a numeric value, the life MVM.