Skip to content

How to develop variogram models in R: setting minumum lag distance and modelling 3D anisotropy

2 messages · Michele Di Marcantonio, Edzer Pebesma

#
On 12/06/2012 01:02 PM, Michele Di Marcantonio wrote:
V.EMP is a data.frame, so if you want you can throw out records e.g. by

V.EMP <- V.EMP[V.EMP$dist > 0.01,]
look into arguments alpha and beta in ?variogram, as well as tol.hor and
tol.ver
There is no high-level interface for this; you can use optim to do this,
but it's a bit of work; I have no example lying around.
Yes.
If you find unexpected results, it might help to present a reproducible
example to the list.
Thank you for your suggestions.

I suggest using optim, then writing a well documented high-level wrapper
function, and contributing this back to the developers of gstat or some
other geostats package where this would be useful, so they can integrate
it for future users with similar needs.