Learn R Programming

blackbox (version 1.0)

preprocessbboptions: Set controls for most functiosn in the package

Description

Preprocesses a list of argument. The return value of this function serves as argument to blackbox.options (see Examples). Providing in this way the information described in the Details section of blackbox.options is essential for further usage of the package functions.

Usage

preprocessbboptions(optionList)

Arguments

optionList
A list, with named elements, which names will (mostly) match the names of options set by this function

Value

  • A list, returned invisibly

Examples

Run this code
GP <- list(ParameterNames=c("theta_1","theta_2"))
pp <- preprocessbboptions(GP)
do.call(blackbox.options, pp) ## essential

Run the code above in your browser using DataLab