Computes the covariance matrix a corresponding to a set of spatial locations given a variogram model or a semivariogram estimate.
variogram model (svarmod
object) or semivariogram estimate.
matrix of coordinates (columns correspond with dimensions and rows with data).
further arguments passed to or from other methods.
(theoretical or estimated) variance \(C(0) = \sigma^2\) or pseudo-sill (unbounded variograms).
(optional) if provided, covariances corresponding to distances larger than this value are set to 0.
logical. If TRUE
(default), the variogram is (previously) discretized.
The covariance matrix of the data.