makeTrialTable | R Documentation |
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.
makeTrialTable(sim, simResult, trialNum)
sim |
A simulation object |
simResult |
Name of item in sim with results (class = 'simResult') |
trialNum |
Optional - the trial number to create a table for |
a data frame with the Year, PortfolioValue, CashFlow, Return, and Inflation
## Not run: makeTrialTable(sim, simResult, trialNum)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.