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