chartValuesOverTime: Values across Time vs Target Chart

View source: R/graphSim.r

chartValuesOverTimeR Documentation

Values across Time vs Target Chart

Description

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.

Usage

chartValuesOverTime(
  sim,
  logScale = FALSE,
  simResult = "simulation",
  inflationAdjusted = FALSE
)

Arguments

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.

Value

ggplot2 object

Examples

## Not run: chartValuesOverTime(sim)

rexmacey/aasim documentation built on Oct. 29, 2024, 9:30 a.m.