Allow the user to set and examine a variety of options
which affect operations of the spaMM package.
Usage
spaMM.options(...)
spaMM.getOption(x)
Arguments
x
a character string holding an option name.
...
A named value or a list of named values. The following values, with their defaults,
are used in spaMM:
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],
Value
For spaMM.getOption, the current value set for option x, or
NULL if the option is unset.
For spaMM.options(), a list of all set options sorted by category. For
spaMM.options(name), a list of length one containing the set value,
or NULL if it is unset. For uses setting one or more options,
a list with the previous values of the options changed (returned
invisibly).
Details
Invoking spaMM.options() with no arguments returns a list with the
current values of the options. Invoking spaMM.getOption( returns the value of the option rather than a list.
spaMM.options() provides an interface for changing maximal values of parameters of the Matérn correlation function. However,
it is not recommended to change these values unless a spaMM message specifically suggests so. Errors may occur if too low values are chosen as these may conflit with default initial values for the parameters.