powered by
Returns most frequent words and plots their frequencies per document.
getMostFreqWord( wordF, numWords, getPlot = TRUE, mwidth = 1024, mheight = 800, formatType = "png" )
The numWords most frequent words.
numWords
The data.frame containing word occurrences.
The number of words to be returned.
If TRUE, save a scatter plot in the RESULTS directory.
TRUE
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").
data("wordOccuDF") getMostFreqWord(wordF = wordOccuDF, numWords = 5, getPlot = FALSE)
Run the code above in your browser using DataLab