i am working on my data set , i want to analyze it according to http://statweb.lsu.edu/faculty/li/IIT/spatial.html. Unfortunately, i am unable to understand meuse.grid
i read out several documents but did not find how they build this gridded data set. i want to create similar data set to my data. i need your help to make my data set as meuse.grid
Please, use available data to make data as
meuse.grid
. it will be your kind help for me. Thanks so much
library(lattice)
library(sp)
data(meuse)
coordinates(meuse) <- c("x", "y")
spplot(meuse, "zinc", do.log = T, colorkey = TRUE)
bubble(meuse, "zinc", do.log = T, key.space = "bottom")
data(meuse.grid)
coordinates(meuse.grid) <- c("x","y")
meuse.grid <- as(meuse.grid,"SpatialPixelsDataFrame")
library(gstat)