plot,MetaNLP,missing-method | R Documentation |
This method creates a word cloud from a MetaNLP object. The word size indicates the frequency of the words.
## S4 method for signature 'MetaNLP,missing'
plot(
x,
y = NULL,
max.words = 70,
colors = c("snow4", "darkgoldenrod1", "turquoise4", "tomato"),
decision = c("total", "include", "exclude"),
...
)
x |
A MetaNLP object to plot |
y |
not used |
max.words |
Maximum number of words in the word cloud |
colors |
Character vector with the colors in |
decision |
Stratify word cloud by decision. Default is no stratification. |
... |
Additional parameters for wordcloud |
nothing
path <- system.file("extdata", "test_data.csv", package = "MetaNLP", mustWork = TRUE)
obj <- MetaNLP(path)
plt <- plot(obj)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.