powered by
This method creates a word cloud from a MetaNLP object. The word size indicates the frequency of the words.
wordcloud(object, ...)# S4 method for MetaNLP wordcloud( object, max.words = 70, colors = c("snow4", "darkgoldenrod1", "turquoise4", "tomato"), decision = c("total", "include", "exclude"), stop_words = FALSE, ... )
# S4 method for MetaNLP wordcloud( object, max.words = 70, colors = c("snow4", "darkgoldenrod1", "turquoise4", "tomato"), decision = c("total", "include", "exclude"), stop_words = FALSE, ... )
nothing
A MetaNLP object to plot
Additional parameters for wordcloud
Maximum number of words in the word cloud
Character vector with the colors in
Stratify word cloud by decision. Default is no stratification.
Boolean to decide whether stop words shall be included in
path <- system.file("extdata", "test_data.csv", package = "MetaNLP", mustWork = TRUE) obj <- MetaNLP(path) plt <- plot(obj)
Run the code above in your browser using DataLab