ds_spat_prox | R Documentation |
Compute Spatial Proximity
ds_spat_prox(.data, .cols, .name) spat_prox(..., .data = dplyr::across(everything()))
.data |
tibble with sf geometry |
.cols |
|
.name |
name for column with spatial proximity. Leave missing to return a vector. |
... |
arguments to forward to ds_spat_prox from spat_prox |
a tibble or numeric vector if .name missing
data("de_county") ds_spat_prox(de_county, c(pop_black, starts_with('pop_'))) ds_spat_prox(de_county, c(pop_black, starts_with('pop_')), 'spat_prox')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.