This function can be used to set or get global options for the BLCOP package.
BLCOPOptions(opt, setting)
A string with the name of an option
The new setting for the option
If both arguments omitted, a list. If setting is omitted, value of an individual setting.
If setting
is omitted, the current setting for opt
is returned. If both
arguments are omitted, a list with all of the settings is returned. The following settings may
be changed:
regFunc
:Function used to perform the regression in CAPMalphas
numSimulations
:Number of monte-carlo simulations to perform in copula opinion pooling functions
unitTestPath
: Path where unit tests are located.
# NOT RUN {
BLCOPOptions("numSimulations")
# }
Run the code above in your browser using DataLab