View source: R/tidyDiscreteEntropy.R
calculateDiscreteEntropy_Compression | R Documentation |
Universal and accessible entropy estimation using a compression algorithm Ram Avinery, Micha Kornreich, Roy Beck https://arxiv.org/abs/1709.10164
calculateDiscreteEntropy_Compression( df, groupVars, orderingVar = NULL, collect = FALSE, ... )
df |
- may be grouped, in which case the grouping is interpreted as different types of discrete variable |
groupVars |
- the column of the discrete value (X) |
orderingVar |
- (optional) the column of an ordering variable (e.g. time) - if missing assumes df order, |
collect |
- if TRUE will collect dbplyr tables before processing, otherwise (the default) will fail on dbplyr tables |
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.