Learn R Programming

vardiag (version 0.2-2)

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)

Value

a variogram object

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

Author

Ernst Glatzer

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.

See Also

PlotDiag.varobj

Examples

Run this code
data(tulln)

Run the code above in your browser using DataLab