Krige function in gstat cannot see explanatory variables

المشرف العام

Administrator
طاقم الإدارة
I have a SpatialPointsDataFrame in R which I wish to interpolate using the krige command in gstat. When I use ordinary kriging (krige(Var~1)) the code runs fine. When I want to use universal kriging (krige(Var~x+y)) I get an error message sayin that the variable x can not be found. The same happens when I want to do regression kriging, the explanatory variables contained in the same SpatialPointsDataFrame as "Var" cannot be found. Any help please?



أكثر...
 
أعلى