Hi I want to get the values of a vector which I have its indices. How it is possible? For example after clustering , I can access to the indices of the first cluster using: first<- which(clusters$clustering==1) first give me the indices, but how can I access to the values? Thanks a lot and have a fun. Amir
__________________________________________________ [[alternative HTML version deleted]] ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html