joinByArea | R Documentation |
performs a spatial join by area
joinByArea(x, features, refCode, filter = NULL, na.rm = TRUE)
x |
an object of class "Spatial" |
features |
an object of class "Spatial" from which we want to inherit a geocode |
refCode |
an object of class = "character" representing the column to enrich x with |
filter |
an optional filter in the form list(key="key",value="value") to apply to the 'features' object |
na.rm |
TRUE (by default) if NA values (no spatial join) have to be removed |
an object of class "Spatial" (x enriched with the refCode from features)
Emmanuel Blondel emmanuel.blondel1@gmail.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.