Description Usage Arguments Details Value References Examples
Estimate mutual information based on the distribution of nearest neighborhood distances. The kNN method is described by Kraskov, et. al (2004).
1 |
x |
A numeric vector, matrix, data.frame or |
y |
A numeric vector, matrix, data.frame or |
k |
Order of neighborhood to be used in the kNN method. |
distance |
Bool flag for considering |
If two samples are passed to arguments x
and y
, the sample sizes
(i.e. number of rows of the matrix or length of the vector) must agree.
Moreover, data being passed to x
and y
must not contain missing or infinite values.
|
The estimated mutual information. |
Kraskov, A., Stögbauer, H., & Grassberger, P. (2004). Estimating mutual information. Physical review E 69(6): 066138.
1 2 3 4 5 6 7 8 9 10 11 12 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.