hanen <hanen.mastouri <at> yahoo.fr> writes: > > > i have a data.frame with several columns that i want to sort one of them (one > column) by descending order > in such way that this sorting out recover all colums. what should i do?
Maybe I missed something special you need, because I don't fully understand what "recover all columns" means. Try first with the description in the FAQ: <http://cran.r-project.org/doc/FAQ/R-FAQ.html#How-can-I-sort-the-rows-of-a-data-frame_003f> Dieter Menne ______________________________________________ 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.