View source: R/spatial_manipulation.R
dissolve | R Documentation |
For a spatial polygons data frame, return a spatial polygons data frame that contains only one observation for each unique identifier associated with the combined geometry of all polygons belonging to that identifier.
dissolve(polygons, dissolve_var)
polygons |
Spatial Polygons Data Frame. Must have at least the variable matching the value of |
dissolve_var |
Character string. Must match the name of the variable in |
Spatial polygons data frame containing only the variable named in dissolve_var
and only one observation per value in that variable.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.