Utilities to interact with the geoR package.

as.variogram(x, ...)

# S3 method for class 'svar.bin'
as.variogram(x, ...)

# S3 method for class 'np.svar'
as.variogram(x, ...)

as.variomodel(m, ...)

# S3 method for class 'svarmod'
as.variomodel(m, ...)

Arguments

x

semivariogram estimate (e.g. svar.bin or np.svar object).

...

further arguments passed to or from other methods.

m

variogram model (e.g. svarmod object).

Value

as.variogram() returns an object of the (not fully documented) geoR-class variogram.

as.variomodel() returns an object of the geoR-class variomodel.

Details

as.variogram tries to convert a semivariogram estimate \(\hat{\gamma}(h_i)\) to an object of the (not fully documented) geoR-class variogram (see e.g. variog).

as.variomodel tries to convert a semivariogram model \(\gamma(pars; h)\) to an object of the geoR-class variomodel (see e.g. variofit).

See also