You say that data.grid can be any spatial object for which I would like predictions. How could I create it? I have successfully done sp1 = SpatialPointsDataFrame(coordinates(sp0), data = sp0@data), but when I tried gridded(sp1) = TRUE, an error came; "suggested tolerance minimum: 0.0764967. Error in points2grid(points, tolerance, round) : dimension 1 : coordinate intervals are not constant" And when I tried fullgrid(sp1) <- TRUE, another error came ; "Error in function (classes, fdef, mtable) : unable to find an inherited method for function "fullgrid<-", for signature "SpatialPointsDataFrame", "logical""
-- View this message in context: http://r-sig-geo.2731867.n2.nabble.com/Data-grid-in-kriging-tp7580428p7580465.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