Description Usage Arguments Value Examples
Combine tidy2sp, union_polygons and broom::tidy, returning a tidy data frame with aggregated polygons, based on a new_id vector.
1 | union_tidy(.data, new_id)
|
.data |
data frame with map coordinates of polygons |
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 |
a data frame with map coordinates of aggregated polygons
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.