spcov_params {spmodel} | R Documentation |
Create a spatial covariance parameter object
Description
Create a spatial covariance parameter object for use with other functions.
Usage
spcov_params(spcov_type, de, ie, range, extra, rotate = 0, scale = 1)
Arguments
spcov_type |
The spatial covariance function type. Available options include
|
de |
The spatially dependent (correlated) random error variance. Commonly referred to as a partial sill. |
ie |
The spatially independent (uncorrelated) random error variance. Commonly referred to as a nugget. |
range |
The correlation parameter. |
extra |
An extra covariance parameter used when |
rotate |
Anisotropy rotation parameter (from 0 to |
scale |
Anisotropy scale parameter (from 0 to 1).
A value of 1 (the default) implies no scaling.
Not used if |
Details
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()
.
Value
A named numeric vector of spatial covariance parameters with class spcov_type
.
Examples
spcov_params("exponential", de = 1, ie = 1, range = 1)