Learn R Programming

SACOBRA (version 1.2)

setOpts: Merge the options from a partial list and the default list

Description

Merge the options from a partial list and the default list

Usage

setOpts(opts, defaultOpt)

Arguments

opts

a partial list of options

defaultOpt

a list with default values for every element

Value

a list combined from opts and defaultOpt where every available element in opts overrides the default. For the rest of the elements the value from defaultOpt is taken. A warning is issued for every element appearing in opts but not in defaultOpt

See Also

defaultRI, defaultSAC, defaultTR, defaultEquMu