Learn R Programming

spaMM (version 1.1)

options: spaMM options settings

Description

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

...
Anything consistent with standard format for function arguments. However, only the following ones are used in spaMM: [object Object],[object Object],[object Object],[object Object],[object Object]
x
a character string holding an option name.

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. Internally, the options are kept in the list .SpaMM. spaMM.options() provides an interface for changing maximal values of parameters of the Matérn correlation function. However, currently it is not recommended to change these values. Errors may occur if too low values are chosen as these may conflit with default initial values for the parameters.

Examples

Run this code
spaMM.options()

Run the code above in your browser using DataLab