[R] How to search an element in matrix ?

tong wang wangtong at usc.edu
Mon Apr 11 06:37:18 CEST 2005


Hi you guys,
     I know this might be too simple a question to post, but i searched a lot still couldn't find it.
    Just want to find an element in matrix and return its index , i think there should be some matrix version of "match" which 
only works for vector to me.
     thanks in advance for your help.

best,
tong




More information about the R-help mailing list