simulate: Runs a simulation on a simulation object

Description Usage Arguments Value Examples

Description

Runs a simulation on a simulation object

Usage

1
simulate(sim)

Arguments

sim

sim(ulation) object

Value

A list with 6 items. lengths is a vector containing the number of years of each trial. agesDeath1 is a vector of the ages of the deaths of person 1. agesDeath2 is a vector of the ages of the deaths of person 2. cashFlows is a list, each item is a vector of the cashFlows of each trial. portfolioValues is a list each item is a vector of portfolio values for each trial. ratesOfReturns is a list each item is a vector of 1 + the annual rate of return

Examples

1
## Not run: simulate(sim)

rexmacey/aasim documentation built on May 29, 2019, 5:42 a.m.