Create a spatial covariance parameter object for use with other functions.
spcov_params(spcov_type, de, ie, range, extra, rotate = 0, scale = 1)A named numeric vector of spatial covariance parameters with class spcov_type.
The spatial covariance function type. Available options include
"exponential", "spherical", "gaussian",
"triangular", "circular", "cubic",
"pentaspherical", "cosine", "wave",
"jbessel", "gravity", "rquad",
"magnetic", "matern", "cauchy", "pexponential",
"car", "sar", "none", and "ie" (an alias for "none").
The spatially dependent (correlated) random error variance. Commonly referred to as a partial sill.
The spatially independent (uncorrelated) random error variance. Commonly referred to as a nugget.
The correlation parameter.
An extra covariance parameter used when spcov_type is
"matern", "cauchy", "pexponential", "car", or
"sar".
Anisotropy rotation parameter (from 0 to \(\pi\) radians).
A value of 0 (the default) implies no rotation.
Not used if spcov_type is "car" or "sar".
Anisotropy scale parameter (from 0 to 1).
A value of 1 (the default) implies no scaling.
Not used if spcov_type is "car" or "sar".
Generally, all arguments to spcov_params must be specified, though
default arguments are often chosen based on spcov_type.
When spcov_type is car or
sar, ie is assumed to be 0 unless specified otherwise.
For full parameterizations of all spatial covariance
functions, see spcov_initial().
spcov_params("exponential", de = 1, ie = 1, range = 1)
Run the code above in your browser using DataLab