View source: R/aasim_functions.r
getHorizons.sim | R Documentation |
This will return the lengths of the cash flow and portfolio values vectors. Each of the vectors is 1 longer than the number of years in a trial because the first element represents the start (year 0).
getHorizons.sim(sim)
sim |
Sim(ulation) object |
List with three vectors. lengths is number of years + 1 in each trial; agesDeath1 are the ages at which the first person passes, agesDeath2 are the ages at which the second person passes.
## Not run: getHorizons(sim1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.