[R] sort a data frame according to all the Columns
Erik Iverson
eriki at ccbr.umn.edu
Wed Jan 27 22:20:22 CET 2010
I think you want ?order
Juanjuan Chai wrote:
> Hi, I have a data frame read from a .csv file, with columns
> V1,V2,V3...,V18, per say, and I want to sort this data frame according
> to V1, and then V2, then V3..., and so on. Is there any fast way to get
> around with this problem?
> Thanks.
>
> -JJ
>
> ______________________________________________
> R-help at 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.
More information about the R-help
mailing list