[R-sig-Geo] Data grid in kriging?
riaarinda
riaarinda at gmail.com
Fri Jul 13 02:00:45 CEST 2012
I think to do krige(), the shapefile must be points, not polygons. I try to
put my shapefile into mapwindow to krige but it didn't work. But after I
convert it into points shapefile through GeoDa and then put it into
mapwindow again, it can do kriging function in mapWindow.
Now I'm confused how to do krige in R. My poly shapefile contains numbers of
districts. In R, to krige we use krige(formula = log(variable)~1, data,
data.grid, model = m). I already have data as I have example.shp, but I
still don't get it what I should put as data.grid. What is data.grid? And if
you don't mind, could you tell me how to convert a polygons shapefile into
points shapefile?
Thanks a lot.
--
View this message in context: http://r-sig-geo.2731867.n2.nabble.com/Data-grid-in-kriging-tp7580428p7580458.html
Sent from the R-sig-geo mailing list archive at Nabble.com.
More information about the R-sig-Geo
mailing list