findTopic | R Documentation |
Find topics that contain user specified words.
findTopic(
x,
list,
n = 20,
type = c("prob", "frex", "lift", "score"),
verbose = TRUE
)
x |
The STM model object to be searched. May also be the output from sageLabels. |
list |
Character vector containing words to be searched. |
n |
Number of words to consider |
type |
Type of words to be searched. |
verbose |
A logical indicating whether details should be printed to the screen. |
findThoughts
lab <- sageLabels(gadarianFit, n=5)
findTopic(lab, c("poor", "immigr", "peopl"))
findTopic(gadarianFit, c("poor", "immigr", "peopl"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.