Hi, I am working on ranking algo? I have data which is in the form of vectors (feature) for each class and i need to rank them based on feature vector.
class1<-c(1,3,4,-2,0) class2<-c(2,0,0,-3,0) class3<-c(2,3,1,4,5) class4<-c(-4,-5,1,0,0) I need to rank class1, class2, class3, class4 & class5. How can i implement it? Regards -- View this message in context: http://r.789695.n4.nabble.com/How-to-rank-vectors-based-on-their-elements-tp4558409p4558409.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ 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.