Learn R Programming

ClustOfVar (version 1.1)

plot.clustab: Plot of an index of stability of partitions of variables

Description

Plot of the index of stability of the partitions against the number of clusters.

Usage

# S3 method for clustab
plot(x, nmin = NULL, nmax = NULL, ...)

Arguments

x

an object of class clustab.

nmin

the minimum number of clusters in the plot.

nmax

the maximum number of clusters in the plot.

further arguments passed to or from other methods.

See Also

stability

Examples

Run this code
# NOT RUN {
data(decathlon)
tree <- hclustvar(X.quanti=decathlon[,1:10])
stab<-stability(tree,B=20)
plot(stab,nmax=7)

# }

Run the code above in your browser using DataLab