[R] how to extract the maximum from a matrix?

mirko sanpietrucci mirko.sanpietrucci at email.it
Fri Jun 1 11:09:09 CEST 2007


Dear UseRs,
I have a very simple question. I have a big matrix (say x) including 
probabilities (values in (0,1)).
I have to store in a list the names of the row and the column where max(x) 
is located. How can I proceed?

Thanks in advance for your assistance!

mirko



More information about the R-help mailing list