powered by
The method generates a SpatialPolygons object of a as input given recmap object. Both data.frames are merged by the index order.
recmap
data.frame
# S3 method for recmap as.SpatialPolygonsDataFrame(x, df = NULL, ...)
a recmap object.
a data.frame object. default is NULL.
...
SpDf <- as.SpatialPolygonsDataFrame(recmap(checkerboard(8))) summary(SpDf) spplot(SpDf)
Run the code above in your browser using DataLab