Re: [R] Getting the minimum/maximum value of each row of a matrix

2011-01-14 Thread Henrique Dallazuanna
apply(your_matrix, 1, range) or apply(your_matrix, 1, min) apply(your_matrix, 1, max) On Fri, Jan 14, 2011 at 11:44 AM, Barth B. Riley wrote: > Hello > > Is there a straightforward way of getting a vector containing the minimum > (or maximum) value of each row of a matrix? > > Thanks > > Barth

[R] Getting the minimum/maximum value of each row of a matrix

2011-01-14 Thread Barth B. Riley
Hello Is there a straightforward way of getting a vector containing the minimum (or maximum) value of each row of a matrix? Thanks Barth PRIVILEGED AND CONFIDENTIAL INFORMATION This transmittal and any attachments may contain PRIVILEGED AND CONFIDENTIAL information and is intended only for the