Description Usage Arguments Value
Summarize the log-likelihood ratio across a grouped data frame
1 | summarize_llr(data, token, count = rep(1, n()))
|
data |
A data frame |
token |
The column indicating a token. |
count |
The column indicating wordcount data. |
A dataframe with the supplied grouping and a log-likelihood for each token in that grouping. Strongly positive numbers are over-represented; strongly negative numbers are under-represented.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.