View source: R/tidyDiscreteEntropy.R
calculateDiscreteEntropy_MontgomerySmith | R Documentation |
S. Montgomery-Smith and T. Schürmann, “Unbiased Estimators for Entropy and Class Number,” arXiv, 18-Oct-2014. Available: http://arxiv.org/abs/1410.5002
calculateDiscreteEntropy_MontgomerySmith( df, groupVars, orderingVar = NULL, ... )
df |
- may be grouped, in which case the grouping is interpreted as different types of discrete variable |
groupVars |
- the columns of the discrete value quoted by the vars() function (e.g. ggplot facet_wrap) |
orderingVar |
- (optional) the column of an ordering variable (e.g. time) - if missing assumes df order, |
This is not particularly useful as requires large sample size before it becomes accurate.
a dataframe containing the disctinct values of the groups of df, and for each group an entropy value (H). If df was not grouped this will be a single entry
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.