makeTrialTable: Make a Table Representing a Single Trial

View source: R/analyzeSim.r

makeTrialTableR Documentation

Make a Table Representing a Single Trial

Description

This function exists to produce a table reflecting the details of a single trial. If the trial number is not supplied, a trial is selected with a length within the 50% confidence interval and that is closest to the median terminal value.

Usage

makeTrialTable(sim, simResult, trialNum)

Arguments

sim

A simulation object

simResult

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

trialNum

Optional - the trial number to create a table for

Value

a data frame with the Year, PortfolioValue, CashFlow, Return, and Inflation

Examples

## Not run: makeTrialTable(sim, simResult, trialNum)

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