Sorting a table
Published: Wednesday, Dec 26, 2007 Last modified: Thursday, Nov 14, 2024
This is good for figuring out the mode and median I think:
tapply(zz$x5, zz$x10, sort)
This is good for figuring out the mode and median I think:
tapply(zz$x5, zz$x10, sort)