[R] cls.attrib and integer

Christophe Genolini cgenolin at u-paris10.fr
Fri Apr 11 00:39:20 CEST 2008


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



More information about the R-help mailing list