ds_inv_simpson | R Documentation |
Compute Simpson Index
ds_inv_simpson(.data, .cols, .name) inv_simpson(..., .data = dplyr::across(everything()))
.data |
tibble |
.cols |
|
.name |
name for column with Simpson Index Leave missing to return a vector. |
... |
arguments to forward to ds_inv_simpson from inv_simpson |
a tibble or numeric vector if .name missing
data("de_county") ds_inv_simpson(de_county, starts_with('pop_')) ds_inv_simpson(de_county, starts_with('pop_'), 'blau')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.