Hi all
I have a dataframe like I coppied below

> ff
       a      b      d
1    10     5       7
2    20     4       9
3     3     8       10
4     5     6        8
5     6     3        5
6    73    7        3
7    45    28      9
8    3      2       8

while I am trying to sort multy coloums  at once I am not able to get that
like ina order of   first column "a" next column "d" after that column "b"
here I tried with


o <- order(a,d,b)
but it returns an error
can any one help me to sort this multy-columns atonce


thanks in advance

kiran

        [[alternative HTML version deleted]]

______________________________________________
R-help@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.

Reply via email to