View source: R/tidyDiscreteDiscreteMI.R
calculateDiscreteDiscreteMI_Entropy | R Documentation |
calculate mutual information between a discrete value (X) and a discrete value (Y) using estimates of entropy
calculateDiscreteDiscreteMI_Entropy( df, groupXVars, groupYVars, entropyMethod = "Grassberger", ... )
df |
- may be grouped, in which case the grouping is interpreted as different types of discrete variable |
groupXVars |
- the column of the discrete value (X) quoted by vars(...) |
groupYVars |
- the column of the discrete value (Y) |
entropyMethod |
- the method used to calculate the entropy (see ?tidyinfostats::calculateDiscreteEntropy) - defaults to "Grassberger" |
a dataframe containing the disctinct values of the groups of df, and for each group a mutual information column (I). 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.