[R-sig-Geo] fitting variogram in regrssion kriging

Helen Chen hc10024 at gmail.com
Thu Sep 25 07:57:41 CEST 2014


Hi,

I am following the code provide from this link:
http://spatial-analyst.net/wiki/index.php?title=Regression-kriging_guide)
with my own data.

but I got stuck in fitting variogram, the error message is as follow:

> vgm_precip_r <- fit.variogram(variogram(annaul_2001~mask_10m.asc,
precip), model=null.vgm)
Error in na.fail.default(list(annaul_2001 = c(945.134, 648.716, 559.562,  :
  missing values in object

But I have checked that there is no missing value in my rainfall data. Any
help would be very much appreciated.

Helen

	[[alternative HTML version deleted]]



More information about the R-sig-Geo mailing list