[R] Help HINov algorithm

alexkakashi alexkakashi at libero.it
Mon Jun 1 20:54:39 CEST 2009


Hi,
I have used the algoritm HINov (Heuristic Identification of Noisy Variables) 
and I have a problem with a dataset. Indeed there is always the error: 
"Error in kmeans(y, y[initial.Centers(y, u), ]) : 
initial centers are not distinct"
I send my data set (Spss file): the variables are quantitative. 
The HINoV's instructions are:
library(clusterSim)
x<-data.frame(palmitic, p_eic, stearic, oleic,linoleic,l_eic, arachidic, 
eicosenoic)
r1<- HINoV.Mod(x, type="metric", s=1, 4, method="kmeans",Index="cRAND")

If I delete the variable l_eic, I won't have the problem: why is it?.
Best regards.
Alex



More information about the R-help mailing list