?makegrid
?spsample
-- 
Sent from my Android phone with K-9 Mail. Please excuse my brevity.

riaarinda <riaarinda@gmail.com> wrote:

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.

_____________________________________________

R-sig-Geo mailing list
R-sig-Geo@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-geo


	[[alternative HTML version deleted]]

