Cal_NMI: calculate the normalized mutual information.

Description Usage Arguments Value Author(s) Examples

View source: R/Cal_NMI.R

Description

calculate the normalized mutual information of two vectors x and y.

Usage

1
Cal_NMI(x, y)

Arguments

x

A vector

y

A vector as long as x

Value

A number between 0 and 1 indicating the normalized mutual information

Author(s)

Xiaoyao Yin

Examples

1
2
3
x <- c(0.1,0.2,0.3,0.4)
y <- c(0.1,0.2,0.3,0.4)
NMI <- Cal_NMI(x,y)

M2SMF documentation built on Jan. 11, 2020, 9:28 a.m.