Thanks that makes sense. Just a newby to spatial data in R. Thanks.
Roger Bivand wrote:
>
> First re-read the definition of what a SpatialPixels object is -
> ?"SpatialPixels-class" - note that it says: "class for defining a pixels,
> forming a possibly incomplete rectangular grid of arbitrar
First re-read the definition of what a SpatialPixels object is -
?"SpatialPixels-class" - note that it says: "class for defining a pixels,
forming a possibly incomplete rectangular grid of arbitrary dimension". When
you try to coerce a SpatialPointsDataFrame to a SpatialPixelsDataFrame, it
is chec
This seems pretty basic, but I can't get any data to work except for the
documented examples. When the goal is to get to SpatialPixels, here is what
I see...
> x <- runif(10,1,10)
> y <- runif(10,1,10)
> z <- rnorm(10,0,1)
> MyData <- as.data.frame(cbind(x,y,z))
> library(gstat)
> coordinates(My
3 matches
Mail list logo