View source: R/aasim_functions.r
calcCF | R Documentation |
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.
calcCF(sim, length, ageDeath1, ageDeath2, histInflation = 0)
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 |
histInflation |
If historical inflation is to be used, this should be a vector of 1 + inflation rates of length length |
vector of cash flows for a single trial
## Not run: calcCF(sim,10,82,91)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.