R/inference_methods.R
mi.ap.Rd
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)
a numeric matrix
matrix of pairwise mutual information estimates
x <- matrix(rnorm(200), 100, 2) mi.ap(x) #> 1 2 #> 1 2.770249 0.000000 #> 2 0.000000 2.770249