calculateDiscreteDiscreteMI_Empirical: calculate mutual information between a discrete value (X) and...

View source: R/tidyDiscreteDiscreteMI.R

calculateDiscreteDiscreteMI_EmpiricalR Documentation

calculate mutual information between a discrete value (X) and a discrete value (Y)

Description

calculate mutual information between a discrete value (X) and a discrete value (Y)

Usage

calculateDiscreteDiscreteMI_Empirical(df, groupXVars, groupYVars, ...)

Arguments

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)

Value

a dataframe containing the distinct 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


terminological/tidy-info-stats documentation built on Nov. 19, 2022, 11:23 p.m.