merge_by | R Documentation |
In performing a county-level or cores-based analysis it is often necessary to merge several units together into a larger unit. This function performs this operation, modifying the adjacency graph as needed and attempting to properly aggregate other data columns.
merge_by(.data, ..., by_existing = TRUE, drop_geom = TRUE, collapse_chr = TRUE)
.data |
a |
... |
|
by_existing |
if an existing assignment is present, whether to also group by it |
drop_geom |
whether to drop the geometry column. Recommended, as otherwise a costly geometric merge is required. |
collapse_chr |
if |
A merged redist_map
object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.