svar.grid: Discretize a (semi)variogram model

View source: R/svar.grid.R

svar.gridR Documentation

Discretize a (semi)variogram model

Description

Discretizes a variogram model (to speed up variogram evaluation). Constructor function of the svar.grid-class.

Usage

svar.grid(svar, log = TRUE, ...)

## S3 method for class 'svarmod'
svar.grid(
  svar,
  log = TRUE,
  n = 256,
  min = 10 * .Machine$double.eps,
  max = 1.1 * svar$range,
  ...
)

Arguments

svar

(fitted) variogram model (a svarmod or fitsvar object).

log

logical. If TRUE, the variogram is discretized in (base 2) logarithmic scale.

...

further arguments passed to or from other methods.

n

number of lags. Defaults to 256.

min

minimun lag. Defaults to 10*.Machine$double.eps.

max

maximum lag. Defaults to 1.1*svar$range.

Value

A svar.grid-class object extending svarmod, bin.den and data.grid classes.

See Also

svarmod, bin.den, data.grid.


npsp documentation built on May 29, 2024, 5:31 a.m.