mi_content_discrete {eHDPrep} | R Documentation |
Calculate Mutual Information Content
Description
Calculates mutual information content between two variables in bits. Missing values are omitted from the calculation.
Usage
mi_content_discrete(x, y)
Arguments
x |
First variable |
y |
Second variable |
Value
Mutual information content of x
and y
Examples
data(example_data)
mi_content_discrete(example_data$diabetes, example_data$diabetes_type)
[Package eHDPrep version 1.3.3 Index]