Description Usage Arguments Value Examples
Calculate the diversity of a dataset by determining the degree to which differentiable groupings in the columns vary from maximum entropy for the number of grouping. If the groupings are uniformly distributed, the entropy is maximized. This functions calculates the ratio of the real distribution of groupings to the maximum entropy distribution to determine the overall diversity represented in the grouped data.
1 | Diversity(dataset)
|
dataset |
A tibble or data.frame type object |
A list containing:
data
the distribution dataset of different groupings and the
percentage of the total dataset they represent
entropy
the real entropy represented in
the dataset
diversity
the percentage of the maximum potential entropy represented by the real data,
or the degree to which the dataset is ideally diversified
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.