Hi, I have a csv file like this:
order class value
1 a 5
2 a 6
3 a 4
4 b 10
5 b 7
6 b 18
now I want to order this by the each class and its values:
order class value
3 a 4
1 a 5
2 a 6
5 b 7
4 b 10
6 b 18
how to do this in R? Thanks!
thanks. What if the data is stored in a csv file and I don't know eactly how many numbers each class has.
What does that mean?