Compute mutual information between all rows of a matrix containing discrete outcomes.
discrete.mi(mat, progress.bar = FALSE)
A lower triangular matrix where element [i,j] contains the mutual information in bits between row i and row j of the input matrix
A matrix of discrete values
Outputs status to terminal when set to 'text', or no
status updates are output when set to FALSE
.
Alexander Lyulph Robert Lubbock, Ian Overton
Note that only the lower triangle of the matrix is populated for speed, as the result is symmetric. Takes a matrix as input.