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
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
2 matches
Mail list logo