hclass(hcPairs, G)
length(G)
columns, each column
corresponding to a classification. Columns are indexed by the character
representation of the integers in G
.hc
,
hcE
hcTree <- hc(modelName="VVV", data = iris[,-5])
cl <- hclass(hcTree,c(2,3))
par(pty = "s", mfrow = c(1,1))
clPairs(iris[,-5],cl=cl[,"2"])
clPairs(iris[,-5],cl=cl[,"3"])
Run the code above in your browser using DataLab