Learn R Programming

gstat (version 0.9-11)

fit.lmc: Fit a Linear Model of Coregionalization to a Multivariable Sample Variogram

Description

Fit a Linear Model of Coregionalization to a Multivariable Sample Variogram; in case of a single variogram model (i.e., no nugget) this is equivalent to Intrinsic Correlation

Usage

fit.lmc(v, g, model, fit.ranges = FALSE, fit.lmc = !fit.ranges, ...)

Arguments

v
multivariable sample variogram, output of variogram
g
gstat object, output of gstat
model
variogram model, output of vgm; if supplied this value is used as initial value for each fit
fit.ranges
logical; determines whether the range coefficients (excluding that of the nugget component) should be fitted; or logical vector: determines for each range parameter of the variogram model whether it should be fitted or fixed.
fit.lmc
logical; if TRUE, each coefficient matrices of partial sills is guaranteed to be positive definite
...
parameters that get passed to fit.variogram

Value

  • returns an object of class gstat, with fitted variograms;

References

http://www.gstat.org/

See Also

variogram, vgm, fit.variogram, demo(cokriging)