A list with the correlation matrix and the p-value matrix.
Arguments
wordF
The data.frame containing word occurrences.
numWords
The number of words to be returned.
getPlot
A vector with two logical values. If plots[1]==TRUE,
an image of the correlation matrix is saved in the RESULTS directory.
If plots[2]==TRUE, the image of the p-value matrix associated
with the correlation is saved in the RESULTS directory.
getTextSink
If TRUE, save the correlation matrix and the
associated p-values in a text file in the RESULTS directory.
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").