The function provides a tool to control the behavior of library
Runuran. A list may be given as the only argument, or any
number of arguments may be in the name=value
form.
If no arguments are specified then the function returns the
current settings of all parameters.
If a single option name is given as character string, then its
value is returned (or NULL
if it does not exist).
Option values may be abbreviated.
Currently used parameters in alphabetical order:
- error.level
verbosity level of error messages and warnings from the
underlying UNU.RAN library. It has no effect on messages
from the routines in this package.
Warnings are useful for analysing possible problems with the
selected combinations of distribution and method.
However, they can produce quite a lot of output if the
conditions of the method is appropriate for a distribution or
the distribution has properties like very heavy tails or
very high peaks.
The following levels can be set:
"default"
:
same as "warning"
.
"none"
:
all error messages and warnings are suppressed.
"error"
:
only show error messages.
"warning"
:
show error messages and some of the warnings.
"all"
:
show all error messages and warnings.