getMostFreqWordCor {inpdfr} | R Documentation |
Test for correlation between the most frequent words.
Description
Test for correlation between the most frequent words.
Usage
getMostFreqWordCor(
wordF,
numWords,
getPlot = c(TRUE, TRUE),
getTextSink = TRUE,
mwidth = 1024,
mheight = 1024,
formatType = "png"
)
Arguments
wordF |
The data.frame containing word occurrences. |
numWords |
The number of words to be returned. |
getPlot |
A vector with two logical values. If |
getTextSink |
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
A list with the correlation matrix and the p-value matrix.
Examples
data("wordOccuDF")
getMostFreqWordCor(
wordF = wordOccuDF,
numWords = 5,
getPlot = c(FALSE, FALSE),
getTextSink = FALSE)
[Package inpdfr version 0.1.12 Index]