View source: R/inpdfr_ANA_cluster.R
doCluster | R Documentation |
Performs a cluster analysis on the basis of the word-occurrence data.frame
using hclust
function.
doCluster(
wordF,
myMethod = "ward.D2",
gp = FALSE,
nbGp = 5,
getPlot = TRUE,
mwidth = 800,
mheight = 800,
formatType = "png",
...
)
wordF |
The data.frame containing word occurrences. |
myMethod |
The method to compute distances, see |
gp |
A logical to specify if groups should be made. |
nbGp |
An intger to specify the number of groups. Ignored if |
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"). |
... |
Additional arguments from the |
An object of class hclust
.
data("wordOccuDF")
doCluster(wordF = wordOccuDF, myMethod = "ward.D2", getPlot = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.