View source: R/vectorisedCalculations.R
npmiFromCounts | R Documentation |
A calculate pointwise mutual information from counts
npmiFromCounts(x1y1, x1, y1, total)
x1y1 |
cooccurrence of x1 and y1 in corpus. |
x1 |
occurrence of x1 in corpus |
y1 |
occurrence of y1 in corpus |
total |
total size of corpus |
the normalised pointwise mutual information
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.