[R] how to sort columns in a matrix?

Thomas Lumley tlumley at u.washington.edu
Wed Jul 9 18:24:27 CEST 2003


On 9 Jul 2003, David Andel wrote:

> Hi
>
> I am struggling in finding a way to sort columns in a matrix. Can anyone
> help me, please?

You probably want order().

	-thomas

Thomas Lumley			Assoc. Professor, Biostatistics
tlumley at u.washington.edu	University of Washington, Seattle




More information about the R-help mailing list