getTerminalValues | R Documentation |
Returns a vector with a length equal to the number of trials containing the year by year terminal values. This is useful for determining success or failure.
getTerminalValues(sim, simResult = "simulation", inflationAdjusted = FALSE)
sim |
Simulation object after running simulate function |
simResult |
Name of item in sim with results (class = 'simResult') |
inflationAdjusted |
TRUE to adjust portfolio values by inflation, otherwise FALSE. |
vector of values
## Not run: getTerminalValues(sim)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.