as.SpatialPolygonsDataFrame.recmap {recmap} | R Documentation |
Convert a recmap Object to SpatialPolygonsDataFrame Object.
Description
The method generates a SpatialPolygons object of a as input given
recmap
object. Both data.frame
s are merged by the index order.
Usage
## S3 method for class 'recmap'
as.SpatialPolygonsDataFrame(x, df = NULL, ...)
Arguments
x |
a |
df |
a |
... |
... |
Examples
SpDf <- as.SpatialPolygonsDataFrame(recmap(checkerboard(8)))
summary(SpDf)
spplot(SpDf)
[Package recmap version 1.0.17 Index]