View source: R/tidyDiscreteEntropy.R
calculateDiscreteEntropy | R Documentation |
calculate entropy of a sequence of
calculateDiscreteEntropy(df, groupVars, method, ...)
df |
- may be grouped, in which case the value is interpreted as different types of continuous variable |
groupVars |
- the columns of the discrete value quoted by the vars() function (e.g. ggplot facet_wrap) |
method |
- the method employed - valid options are "MontgomerySmith", "Histogram", "Grassberger", "InfoTheo", "Compression" |
... |
- the other parameters are passed onto the implementations |
a single value for the entropy of the vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.