vamc (version 0.1.0)

genFundScen: Calculate numScen-by-numIndex-by-numStep fund scenarios based on given index scenarios indexScen and fund map fundMap that maps indices to funds.

Description

Calculate numScen-by-numIndex-by-numStep fund scenarios based on given index scenarios indexScen and fund map fundMap that maps indices to funds.

Usage

genFundScen(fundMap, indexScen)

Arguments

fundMap

A numFund-by-numIndex matrix of doubles, mapping indices to funds.

indexScen

A numScen-by-numStep-by-numIndex array of doubles, index scenarios.

Value

Outputs a numScen-by-numStep-by-numFund array of doubles of fund scenarios.

Examples

Run this code
# NOT RUN {
genFundScen(fundMap, indexScen)
# }

Run the code above in your browser using DataLab