[R] location of maximum

Patrick Buetzberger patrick at giub.unibe.ch
Tue Mar 5 15:49:06 CET 2002


Dear R-users,

I'm trying to extract the exact location of the maximum value in a
vector or a matrix, meaning I want not only the maximum itself but also
at which position (e.g row 6, column 12) it is located.
I appreciate any suggestions.
Thanks,

Patrick
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patrick.vcf
Type: text/x-vcard
Size: 339 bytes
Desc: Card for Patrick Buetzberger
Url : https://stat.ethz.ch/pipermail/r-help/attachments/20020305/e8b71fd0/patrick.vcf


More information about the R-help mailing list