Hi, 
I am new in R and trying to implement an algorithm which makes ordinary kriging 
by 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]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to