[R] Order data frame

Uwe Ligges ligges at statistik.tu-dortmund.de
Sat Jun 13 15:50:57 CEST 2009


I asked Google for "order data.frame" and got some good answers ....

Uwe Ligges


MarcioRibeiro wrote:
> Hi listers,
> I have a data frame with 5 variables... And I want reorder the data frame
> according a specific variable X...
> I checked the sort and order functions... In my case I think that the ORDER
> function is applicable... But I did not understand at all... The idea is
> simple... Data order by X...
> I know that this is very simple... Anyways... How I would do that...
> Thanks in advance,
> Marcio
>




More information about the R-help mailing list