powered by
Calculates mutual information content between two variables in bits. Missing values are omitted from the calculation.
mi_content_discrete(x, y)
Mutual information content of x and y
x
y
First variable
Second variable
data(example_data) mi_content_discrete(example_data$diabetes, example_data$diabetes_type)
Run the code above in your browser using DataLab