Description Usage Arguments Value Examples

Calculate the MaxNMI relationship measurement for 2 categorical variables

1 | ```
NormalizedMI(x, y, includeNA = T)
``` |

`x` |
a vector of factor. |

`y` |
a vector of factor. |

`includeNA` |
a boolean. TRUE to include NA value as a factor level. |

a double between 0 and 1 corresponding to the MaxNMI.

1 2 3 4 | ```
# calculate a correlation dataframe
data(iris)
discreteSepalLength=BeEFdiscretization.numfact(continuousY=iris$Sepal.Length,factorX=iris$Species)
NormalizedMI(iris$Species,discreteSepalLength)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.