View source: R/vectorisedCalculations.R
npmi | R Documentation |
A calculate normalised pointwise mutual information from probabilities
npmi(p_xy, p_x, p_y)
p_xy |
probability of cooccurrence of x and y. |
p_x |
probability of occurrence of x |
p_y |
probability of occurrence of y |
the normalised pointwise mutual information
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.