Re: [R-sig-Geo] Problem with SpatialPolygons.SpatialPixels object

2013-03-17 Thread Edzer Pebesma
the function is no longer exported as function, but rather as coerce method: gridPol <- as(gridPix, "SpatialPolygons") will call this function. Calling the old function can be done with gridPol <- sp:::as.SpatialPolygons.SpatialPixels(gridPix) but is not recommended - names of unexported functi

[R-sig-Geo] Problem with SpatialPolygons.SpatialPixels object

2013-03-17 Thread ASANTOS
Dear list members, I'm trying to create a as.SpatialPolygons.SpatialPixels object with sp package, normally this function works, but I try to use without success, above a example in this list posted by Dr. Justiniano: ## require(sp) set.seed(12) xy <- cbind(runif(n=500,min=0, max=20),