getMostFreqWord {inpdfr} | R Documentation |
Returns most frequent words.
Description
Returns most frequent words and plots their frequencies per document.
Usage
getMostFreqWord(
wordF,
numWords,
getPlot = TRUE,
mwidth = 1024,
mheight = 800,
formatType = "png"
)
Arguments
wordF |
The data.frame containing word occurrences. |
numWords |
The number of words to be returned. |
getPlot |
If |
mwidth |
The width of the plot in pixels. |
mheight |
The height of the plot in pixels. |
formatType |
The format for the output file ("eps", "pdf", "png", "svg", "tiff", "jpeg", "bmp"). |
Value
The numWords
most frequent words.
Examples
data("wordOccuDF")
getMostFreqWord(wordF = wordOccuDF, numWords = 5, getPlot = FALSE)
[Package inpdfr version 0.1.12 Index]