calcCF: Calculate Cash Flow Vector for a trial

Description Usage Arguments Value Examples

Description

This takes all the cash flows and combines them into a vector of values for a single trial. Each value in the vector represents a contribution (+) or withdrawal (-) for the year.

Usage

1
calcCF(sim, length, ageDeath1, ageDeath2)

Arguments

sim

sim(ulation) object

length

The number of years in that trial.

ageDeath1

age of death of person 1 if applicable

ageDeath2

age of death of person 2 if applicable

Value

vector of cash flows for a single trial

Examples

1
## Not run: calcCF(sim,10,82,91)

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