cvtCF2Yr: Convert a Cash Flow Type to a Year

Description Usage Arguments Value Examples

Description

cfType must be in "yr,start,end,p1age,p1ret,p1death,p2age,p2ret,p2death,1stdeath,2nddeath"

Usage

1
cvtCF2Yr(cfType, sim, length, ageDeath1, ageDeath2, value)

Arguments

cfType

Cash flow type string

sim

sim(ulation) object

length

length of trial in years

ageDeath1

age of death of person 1 if applicable

ageDeath2

age of death of person 2 if applicable

value

start or end value from cash flow record

Value

integer representing year in which cash flow starts or ends

Examples

1
 ## Not run: cvtCF2Yr(cf$startType,sim,length,ageDeath1,ageDeath2,cf$start)

rexmacey/aasim documentation built on May 29, 2019, 5:42 a.m.