powered by
Compute Reyni Entropy
ds_reyni(.data, .cols, .name, q = 0)reyni(..., .data = dplyr::across(everything()))
reyni(..., .data = dplyr::across(everything()))
a tibble or numeric vector if .name missing
tibble
tidy-select Columns to compute the measure with.
tidy-select
name for column with Reyni entropy. Leave missing to return a vector.
exponent parameter. Default 0. Can not be 1.
arguments to forward to ds_reyni from reyni
data('de_county') ds_reyni(de_county, starts_with('pop_')) ds_reyni(de_county, starts_with('pop_'), 'reyni')
Run the code above in your browser using DataLab