Displaying 1 result from an estimated 1 matches for "predgrid".
2012 Dec 17
1
How to make Ordinary Kriging using gstat predict?
...y using gstat library and the predict method.
I use the predict method as following:
First, I create an object g:
g <- gstat(id="tec", formula=TEC ~ 1, data=data) ## Create gstat object called g
And then I use this object in the predict.
p <- predict.gstat(g, model=mod, newdata=predGrid, nsim=0)
My problem is that instead of Ordinary kriging, when I run the algorithm I get: Inverse distance weighted interpolation.
Why is that? What am I missing or doing wrong?
Thanks in advance
Dimitris
[[alternative HTML version deleted]]