Usage
HCPC(res, nb.clust=0, consol=TRUE, iter.max=10, min=3, max=NULL, metric="euclidean", method="ward", order=TRUE, graph.scale="inertia", nb.par=5, graph=TRUE, proba=0.05, cluster.CA="rows",kk=Inf,...)
Arguments
res
Either the result of a factor analysis or a dataframe.
nb.clust
an integer. If 0, the tree is cut at the level the user clicks
on. If -1, the tree is automatically cut at the suggested level (see
details). If a (positive) integer, the tree is cut with nb.cluters clusters.
consol
a boolean. If TRUE, a k-means consolidation is performed (consolidation cannot be performed if kk is used and equals a number).
iter.max
An integer. The maximum number of iterations for the consolidation.
min
an integer. The least possible number of clusters suggested.
max
an integer. The higher possible number of clusters suggested; by default the minimum between 10 and the number of individuals divided by 2.
metric
The metric used to built the tree. See agnes
for details. method
The method used to built the tree. See agnes
for details. order
A boolean. If TRUE, clusters are ordered following their center
coordinate on the first axis.
graph.scale
A character string. By default "inertia" and the height of the tree corresponds
to the inertia gain, else "sqrt-inertia" the square root of the inertia gain.
nb.par
An integer. The number of edited paragons.
graph
If TRUE, graphics are displayed. If FALSE, no graph are displayed.
proba
The probability used to select axes and variables in
catdes (see catdes
for details. cluster.CA
A string equals to "rows" or "columns" for the clustering
of Correspondence Analysis results.
kk
An integer corresponding to the number of clusters used in a Kmeans
preprocessing before the hierarchical clustering; the top of the hierarchical
tree is then constructed from this partition. This is very useful if the number
of individuals is high. Note that consolidation cannot be performed if kk is different
from Inf and some graphics are not drawn. Inf is used by default and
no preprocessing is done, all the graphical outputs are then given.
...
Other arguments from other methods.