由于距离矩阵 d = matrix(c(0,2.5,4.5,2.5,0,3.4,4.5,3.4,0), nrow=3),
如何使用R键做分层聚类?使用 hclust(d)
它给我的错误 Error in if (is.na(n) || n > 65536L) stop("size cannot be NA nor exceed 65536") : missing value where T
我有一个完全由布尔变量组成的数据集。完全像下面的转化动物数据集一样,只有更多的列。 # http://stats.stackexchange.com/questions/27323/cluster-analysis-of-boolean-vectors-in-r
library(cluster)
head(mona(animals)[[1]])
war fly ver end gr