freqPhrases | R Documentation |
Display the most frequent principal phrases in a phraseDoc object.
freqPhrases(pd, n = 10)
pd |
A phraseDoc object. |
n |
Number of principal phrases to display. |
A vector with the n
most frequent principal phrases and their
frequencies.
tst=c("This is a test text",
"This is a test text 2",
"This is another test text",
"This is another test text 2",
"This girl will test text that man",
"This boy will test text that man")
pd=phraseDoc(tst)
freqPhrases(pd, 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.