Learn R Programming

spatialwarnings (version 3.0.3)

raw_variogram_metrics: Variogram parameters

Description

Compute the nugget, partial sill, correlation range and structural variance on a matrix.

Usage

raw_variogram_metrics(
  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

variogram_sews, raw_structvar

Examples

Run this code

raw_variogram_metrics(serengeti[[5]])

Run the code above in your browser using DataLab