Description Usage Arguments Value Examples
Aggregate Polygons in a SpatialPolygonsDataFrame object, based on a vector (new_id) of the same length of the number of polygons in the starting SpatialPolygonsDataFrame (argument .sp).
1 | union_polygons(.sp, new_id)
|
.sp |
SpatialPolygonsDataFrame |
new_id |
A vector defining the output Polygons objects, equal in length to the length of the polygons slot of .sp; it may be character, integer, or factor |
an object of class SpatialPolygonsDataFrame
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.