ds_rel_cent {divseg} | R Documentation |
Compute Relative Centralization
Description
Compute Relative Centralization
Usage
ds_rel_cent(.data, .cols, .name)
rel_cent(..., .data = dplyr::across(everything()))
Arguments
.data |
tibble with sf geometry |
.cols |
|
.name |
name for column with relative centralization. Leave missing to return a vector. |
... |
arguments to forward to ds_rel_cent from rel_cent |
Value
a tibble or numeric vector if .name missing
Examples
data("de_county")
ds_rel_cent(de_county, c(pop_white, starts_with('pop_')))
ds_rel_cent(de_county, c(pop_white, starts_with('pop_')), 'rel_cent')
[Package divseg version 0.0.5 Index]