ds_inv_simpson {divseg} | R Documentation |
Compute Simpson Index
Description
Compute Simpson Index
Usage
ds_inv_simpson(.data, .cols, .name)
inv_simpson(..., .data = dplyr::across(everything()))
Arguments
.data |
|
.cols |
|
.name |
name for column with Simpson Index Leave missing to return a vector. |
... |
arguments to forward to ds_inv_simpson from inv_simpson |
Value
a tibble or numeric vector if .name missing
Examples
data("de_county")
ds_inv_simpson(de_county, starts_with('pop_'))
ds_inv_simpson(de_county, starts_with('pop_'), 'blau')
[Package divseg version 0.0.5 Index]