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