Description Usage Arguments Details Value See Also
Compute correlations among pairs of words.
1 2 3 4 5 |
data |
data.frame. |
token |
bare for NSE; character for SE. Name of column in |
feature |
bare for NSE; character for SE. Name of column in |
num_top_ngrams |
numeric. Useful primarily to prevent |
num_top_corrs |
numeric. Useful primarily to limit input to a network visualation. does not hang up. If between 0 and 1, then interpreted as a percentage. |
adjust |
logical. Indicates whether or not to scale |
return_corrs |
logical. Whether to return just the correlations and token pairs, but not the token counts. This is the default option. |
return_words |
logical. Whether to return the counts used to compute the correlations. Useful when creating a network visualization. |
return_both |
logical. Useful when creating a network visualization so that words can be used as nodes and correlations can be used weights. |
... |
dots. Parameters to pass directly to |
Calls widyr::pairwise_cor()
internally.
data.frame.
http://varianceexplained.org/r/seven-fav-packages/.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.