varobj: Function for variogram fitting
Description
This function fits a variogram model to spatial data and calculates some statistics.
Usage
varobj(m, iter = 50, tolerance = 2e-04, trace = 1, loo = FALSE)
Arguments
- m
n by 3 matrix with spatial data
- iter
this argument is put forward to the optimization routine
- tolerance
this argument is put forward to the optimization routine
- trace
if set to values higher than 1 some debug messages are given
- loo
if set to TRUE, leave-one-out residuals are clculated
Details
Only spherical variogram models are fitted.
References
E. Glatzer, W.G. Mueller, 2004. Residual diagnostics for
variogram fitting. Computers and Geosciences 30, pp 859-866.