MutualInfo {rWMBAT}R Documentation

Calculates Mutual Information Of The Two Variables

Description

Calculates mutual information of the two variables

Usage

MutualInfo(v1, v2)

Arguments

v1 one of the two vectors
v2 one of the two vectors

Value

mutual information of the two vectors

Author(s)

Bill Cooke, College of William and Mary, Dept. of Physics, 2009

Examples

a<-c(1 ,2, 1, 2, 1)
b<-c(2, 1, 2, 1, 1)
MI <- MutualInfo(a, b)

[Package rWMBAT version 2.0 Index]