ds_isolation | R Documentation |
Compute Isolation Index
ds_isolation(.data, .cols, .name, .comp = FALSE) isolation(..., .data = dplyr::across(everything()))
.data |
tibble |
.cols |
|
.name |
name for column with Isolation index. Leave missing to return a vector. |
.comp |
Default is FALSE. FALSE returns the sum, TRUE returns the components. |
... |
arguments to forward to ds_isolation from isolation |
a tibble or numeric vector if .name missing
data('de_county') ds_isolation(de_county, c(pop_white, starts_with('pop_'))) ds_isolation(de_county, starts_with('pop_'), 'isolation')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.