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