Description Usage Arguments Value Examples
Starting from a data frame with map coordinates, transforms it in an object of class SpatialPolygonsDataFrame.
1 | tidy2sp(.data)
|
.data |
data frame with map coordinates of polygons |
an object of class SpatialPolygonsDataFrame (from package sp)
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.