Friends

If I have a matrix such as...

     [,1] [,2]
[1,]    7    7
[2,]    7    9
[3,]    9   2
[4,]    7    9

And I want to find the row number that has the minimum value of column 2
(row 3 in this  case) how can I do it?  Is there a simple way?

cheers
Worik

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org 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.

Reply via email to