MI | R Documentation |
A function for computing the mutual information.
MI(x, base = 2)
mi(x, base = 2)
x |
A table or a (sparse) matrix. |
base |
Numeric specification of the base with respect to which logarithms are computed. |
A numeric value containing the mutual information.
pmi
.
SndT_Fra <- read.table(system.file("extdata", "SndT_Fra.txt", package = "svs"),
header = TRUE, sep = "\t", quote = "\"", encoding = "UTF-8",
stringsAsFactors = FALSE)
tab_SndT_Fra <- table(SndT_Fra)
MI(tab_SndT_Fra)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.