Plot a word cloud from the word-occurrence data.frame using wordcloud
function.
makeWordcloud(
wordF,
wcFormat = "png",
wcminFreq = 3,
wcmaxWords = Inf,
wcRandOrder = FALSE,
wcCol = RColorBrewer::brewer.pal(8, "Dark2"),
getPlot = c(TRUE, TRUE),
mwidth = 1000,
mheight = 1000,
formatType = "png"
)
The data.frame containing word occurrences.
Output format for the word cloud (deprecated, only "png").
Minimum word frequency for words to be ploted (see wordcloud
).
Maximum number of words to be ploted (see wordcloud
).
Plot words in random order (see wordcloud
).
Color words (see wordcloud
).
A vector with two logical values. If plots[1]==TRUE
, a word cloud is made for each document.
If plots[2]==TRUE
, a word cloud is made for the combinaison of all documents.
The width of the plot in pixels.
The height of the plot in pixels.
The format for the output file ("eps", "pdf", "png", "svg", "tiff", "jpeg", "bmp").
if (FALSE) {
makeWordcloud(wordF = myDF)
}
Run the code above in your browser using DataLab