chartValuesOverTime | R Documentation |
Produces a ribbon chart. There's a line for the median value of all the trials at each year. Additionally there are 50 A black line shows the value of the target value.
chartValuesOverTime(
sim,
logScale = FALSE,
simResult = "simulation",
inflationAdjusted = FALSE
)
sim |
Simulation object after running simulate function |
logScale |
TRUE to display a log scale on the y-axis, FALSE to display a linear scale. |
simResult |
Name of item in sim with results (class = 'simResult') |
inflationAdjusted |
TRUE to adjust portfolio values by inflation, otherwise FALSE. |
ggplot2 object
## Not run: chartValuesOverTime(sim)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.