powered by
Compute the structural variance on a matrix.
raw_structvar(mat, model = "sph", nmax = 100000L, nbins = 32, cutoff = NULL)
A matrix
The variogram model to use, either "sph" (for a spherical model) or "exp" (for an exponential model)
The maximum number of pairs of cells to use when computing the variogram
Number of distance bins to use to compute the variogram
Maximum distance to consider in the variogram. If NULL, then a distance equal to one third of the diagonal of the matrix is used
raw_variogram_metrics, variogram_sews
raw_structvar(serengeti[[5]])
Run the code above in your browser using DataLab