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

______________________________________________
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