Description Usage Arguments Value Examples
Calculate the diversity of a dataset or vector by determining the degree to which differentiable groups vary from maximum entropy for the number of unique grouping. If the groupings are uniformly distributed, the entropy is maximized. This functions calculates the ratio of the entropy for the real distribution of groupings to the maximum entropy distribution to determine the overall diversity represented in the data.
1 |
data |
a vector, data frame, or tibble type object |
... |
arguments passed to 'entropy' function |
a named vector containing the percentage diversity, the true entropy of the dataset, and the potential entropy of the dataset ( diversity, entropy, potential_entropy )
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.