ds_reyni | R Documentation |
Compute Reyni Entropy
ds_reyni(.data, .cols, .name, q = 0) reyni(..., .data = dplyr::across(everything()))
.data |
tibble |
.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 |
a tibble or numeric vector if .name missing
data('de_county') ds_reyni(de_county, starts_with('pop_')) ds_reyni(de_county, starts_with('pop_'), 'reyni')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.