Hi,
I have data like this....
print(x)
ID VAL1 VAL2
1 B A
2 P Q
3 T S
What I would like is data like this...
ID VAL1 VAL2
1 A B
2 P Q
3 S T
So that VAL1 and VAL2 are alphabetically ordered.
Any advice is welcome!
San.
[[alternative HTML version deleted]]
______________________________________________
[email protected] 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.