Re: [R] Labels in ICLUST

2011-10-12 Thread William Revelle
On Oct 11, 2011, at 2:28 AM, Steve Powell wrote: > 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 > argume

[R] Labels in ICLUST

2011-10-11 Thread Steve Powell
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(tes