varcov | R Documentation |
Computes the covariance matrix a corresponding to a set of spatial locations given a variogram model or a semivariogram estimate.
varcov(x, coords, ...)
## S3 method for class 'isotropic'
varcov(
x,
coords,
sill = x$sill,
range.taper,
discretize = nrow(coords) > 256,
...
)
## S3 method for class 'np.svar'
varcov(x, coords, sill = max(x$est), range.taper = x$grid$max, ...)
x |
variogram model ( |
coords |
matrix of coordinates (columns correspond with dimensions and rows with data). |
... |
further arguments passed to or from other methods. |
sill |
(theoretical or estimated) variance |
range.taper |
(optional) if provided, covariances corresponding to distances larger than this value are set to 0. |
discretize |
logical. If |
The covariance matrix of the data.
sv
, covar
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.