raw_structvar {spatialwarnings} | R Documentation |
Structural variance
Description
Compute the structural variance on a matrix.
Usage
raw_structvar(mat, model = "sph", nmax = 100000L, nbins = 32, cutoff = NULL)
Arguments
mat |
A matrix |
model |
The variogram model to use, either "sph" (for a spherical model) or "exp" (for an exponential model) |
nmax |
The maximum number of pairs of cells to use when computing the variogram |
nbins |
Number of distance bins to use to compute the variogram |
cutoff |
Maximum distance to consider in the variogram. If NULL, then a distance equal to one third of the diagonal of the matrix is used |
See Also
raw_variogram_metrics, variogram_sews
Examples
raw_structvar(serengeti[[5]])
[Package spatialwarnings version 3.0.3 Index]