From: Jonathan Williams <jonathan.williams_at_pharmacology.oxford.ac.uk>

Date: Mon 17 Oct 2005 - 19:32:20 EST

R-help@stat.math.ethz.ch mailing list

https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Mon Oct 17 19:36:13 2005

Date: Mon 17 Oct 2005 - 19:32:20 EST

Dear R helpers,

I have a largish matrix (1300 x 1300) and I wish to find the row and column numbers that identify particular elements whose values I know in advance (for example, the row and column numbers for the maximum value of the matrix).

I have looked in the help manual and found the functions 'row' and 'col' for finding the indices of a matrix. But, I can't figure out how to use them to obtain the indices of the matrix element with maximum value, despite over an hour of trying!

Many thanks for your help,

Jonathan Williams

R-help@stat.math.ethz.ch mailing list

https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Mon Oct 17 19:36:13 2005

*
This archive was generated by hypermail 2.1.8
: Fri 03 Mar 2006 - 03:40:45 EST
*