hclust
is performed using
1 - the absolute correlation as a distance measure between tow variables.corclust(x, cl = NULL, mincor = NULL, prnt = FALSE, method = "complete")
complete
linkage.complete
cl
is given to the function for any two variables their minimum
correlation over all classes is used.hclust
, for details on the clustering algorithm.data(iris)
classes <- iris$Species
variables <- iris[,1:4]
corclust(variables, classes, mincor = 0.6)
Run the code above in your browser using DataLab