as.recmap.SpatialPolygonsDataFrame {recmap} | R Documentation |
Convert a SpatialPolygonsDataFrame Object to recmap Object
Description
The method generates a recmap class out of a SpatialPolygonsDataFrame
object.
Usage
## S3 method for class 'SpatialPolygonsDataFrame'
as.recmap(X)
Arguments
X |
|
Value
returns a recmap
object.
References
Roger S. Bivand, Edzer Pebesma, Virgilio Gomez-Rubio, 2013. Applied spatial data analysis with R, Second edition. Springer, NY.
Examples
SpDf <- as.SpatialPolygonsDataFrame(recmap(checkerboard(8)))
summary(SpDf)
spplot(SpDf)
summary(as.recmap(SpDf))
[Package recmap version 1.0.17 Index]