What is the best way to sort a dataframe?

 

For example, how would I go about sorting a dataframe (with variables V1-V5)
by ascending V1, V2 and descending V3 while retaining V4 and V5.

 

Also, is there a relatively easy way by which to re-order my columns?

 

Thank you for your time.

 

Marc

 

Marc Zodet


        [[alternative HTML version deleted]]

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help

Reply via email to