[R] order or sort doesn´t work properly

Trying To learn again tryingtolearnagain at gmail.com
Tue Jul 17 23:42:24 CEST 2012

Hi all,

I want to order a series that is included on the second column in MCT.csv.

I do but R doesn´t order, could be because is a csv?

I have prove


a<-order(MCTor[,2],2,decreasing = FALSE)

a<-order(MCTor[,2],1,decreasing = FALSE)

or the same with sort but didn´t worked.

It is suposed that a will have the ordered on ascending or descending
direction, doesn´it?

More information about the R-help mailing list