Computes the mutual information between all pairs of variables in the matrix (along the columns). Variables are discretised using the adaptive partitioning algorithm
mi.ap(mat)
| mat | a numeric matrix |
|---|
matrix of pairwise mutual information estimates
#> 1 2 #> 1 2.770249 0.000000 #> 2 0.000000 2.770249