Description Usage Arguments Details Value See Also
Compute log ratios for usage of tokens between two entities.
1 2 3 4 5 | compute_logratios_facet_wide_at(data = NULL, token = NULL, facet = NULL,
cnt_min = 10)
compute_logratios_facet_wide(data = NULL, token = NULL, facet = NULL,
cnt_min = 10)
|
data |
data.frame. |
token |
bare for NSE; character for SE. Name of column in |
facet |
character. Name of column in |
cnt_min |
numeric. If not null, serves as a filter for which to compute log ratios. |
Note that an attempt was made to make this function flexible enough,
to consider a num_top
or top_pct
parameter that might be used if
cnt_min = NULL
, but this can be troublesome because do.call()
does not seem to handle NULL
in ...
.
data.frame.
https://www.tidytextmining.com/twitter.html#comparing-token-usage. http://varianceexplained.org/r/trump-tweets/.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.