[R] How to order or sort a data.frame

Dieter Menne dieter.menne at menne-biomed.de
Sun Aug 13 16:56:38 CEST 2006


John Kane <jrkrideau <at> yahoo.ca> writes:

> 
> I have a dataframe where I would like to order first
> by  variable, year, and then within that variable by
> month.

http://www.ats.ucla.edu/STAT/r/faq/sort.htm

and

http://wiki.r-project.org/rwiki/doku.php?id=misc:rtips-status

Dieter



More information about the R-help mailing list