View source: R/get_common_words.R
Get the most frequent words in a group of documents.
1 | get_common_words(prob_mtrx, group_num, n, group_membership = NULL)
|
prob_mtrx |
A matrix with (named) columns for words, and rows for either
documents or document groups. If each row represents a document,
|
group_num |
An integer corresponding to the document group of interest. |
n |
An integer specifying how many words should be returned. |
group_membership |
An integer vector specifying the group membership of
documents in |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.