Dear all,
I can't get the labels slot in ICLUST to accept a character vector.
library(psych)
test.data <- Harman74.cor$cov
ic.out <- ICLUST(test.data,nclusters
=4,labels=letters[1:ncol(test.data)]) ## Error in !labels : invalid
argument type
ic.out <- ICLUST(test.data,nclusters =4,labels=1:ncol(test.data)) ## OK

Any ideas?

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to