Skip to content
Prev 313920 / 398506 Next

How to make Ordinary Kriging using gstat predict?

Hi Dimitris,

The mistake is that predict.gstat doesnt have a "model" argument, as you 
assume. But as the function also accepts arguments through ..., it does 
not complain about the unused argument.
Try instead to put the model argument in the gstat-object as you can see 
in the example in ?predict.gstat:

g <- gstat(id="tec", formula=TEC ~ 1, data=data, model = v.fit)

Cheers,
Jon

BTW, you will generally get quicker response to questions regarding any 
kind of spatial data handling from the mailinglist r-sig-geo at r-project.org.
On 17-Dec-12 18:58, DIMITRIS KARAKOSTIS wrote: