Skip to content
Prev 7169 / 29559 Next

How to automatically fit variogram in gstat

Hi,

One option is to use the automap package, this provides the function
autofitVariogram and autoKrige. Automap is available on CRAN. An
alternative is to use the fit.variogram function from gstat (which
automap also does).

An additional comment, 8 stations is not a lot to base variogram models
on. Think carefully how you want to solve this problem. Maybe you can
make some kind of aggregated sample variogram that incorporates not only
the data from one day, but of one month. In this way you can increase
the amount of data you use to create the variogram. But still, just 8
stations looks to be quite a challenge.

good luck!
Paul
ZK wrote: