ds_reyni {divseg} | R Documentation |
Compute Reyni Entropy
Description
Compute Reyni Entropy
Usage
ds_reyni(.data, .cols, .name, q = 0)
reyni(..., .data = dplyr::across(everything()))
Arguments
.data |
|
.cols |
|
.name |
name for column with Reyni entropy. Leave missing to return a vector. |
q |
exponent parameter. Default 0. Can not be 1. |
... |
arguments to forward to ds_reyni from reyni |
Value
a tibble or numeric vector if .name missing
Examples
data('de_county')
ds_reyni(de_county, starts_with('pop_'))
ds_reyni(de_county, starts_with('pop_'), 'reyni')
[Package divseg version 0.0.5 Index]