This function can be used to set or get global options for the BLCOP package.
Usage
BLCOPOptions(opt, setting)
Arguments
opt
A string with the name of an option
setting
The new setting for the option
Details
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 CAPMalphasnumSimulations:Number of monte-carlo simulations to perform in copula opinion pooling functions
unitTestPath: Path where unit tests are located.
Value
If both arguments omitted, a list. If setting is omitted, value of an individual setting.
Author(s)
Francisco Gochez <fgochez@mango-solutions>
Examples
BLCOPOptions("numSimulations")
Results
R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> library(BLCOP)
Error in library(BLCOP) : there is no package called 'BLCOP'
Execution halted