chartRandomSampleTrialsPortfolioValues: Chart a Sample of the Trials (Wealth Over Time)

chartRandomSampleTrialsPortfolioValuesR Documentation

Chart a Sample of the Trials (Wealth Over Time)

Description

This will produce a chart with a sampleSize number of lines representing individual trials.

Usage

chartRandomSampleTrialsPortfolioValues(
  sim,
  sampleSize,
  logScale = TRUE,
  simResult = "simulation",
  inflationAdjusted = FALSE
)

Arguments

sim

Simulation object

sampleSize

Size of random sample

logScale

True to display the y-axis in log format

simResult

Name of item in sim with results (class = 'simResult')

inflationAdjusted

TRUE to adjust portfolio values by inflation, otherwise FALSE.

Value

Chart object (plotly)

Examples

## Not run: chartRandomSmapleTrialsPortfolioValues(sim, sampleSize, logScale))

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