Hi the list,

Is it a bug? The function cls.attrib seems to not work with integer :

values <- round(runif(50,1,10))
dim(values) <- c(10,5)
valuesBis <- as.integer(values)
dim(valuesBis) <- c(10,5)
cluster <- rep(1:2,5)
library(clv)
cls.attrib(values,cluster)
cls.attrib(valuesBis,cluster)

Christophe

______________________________________________
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