Dear R-Help,

I have an array 1260x1260, upper triangle consisting of numbers between 0 and 100, and lower triangle all NA. I can extract the index of those values say above 99 using the following code:
which(myArray>=99 , ind.arr=T)

which returns:
       row  col
5475   252  253
45423  764  765
46902  777  778
34146  611  962
50681 1220 1221

Now I would like to if poss print the actual value contained in the index as well so it would look like:

       row  col
5475   252  253    99  
45423  764  765    96.5    
46902  777  778    99
34146  611  962    100    
50681 1220 1221    100

Can this be done?


      ___________________________________________________________ 


	[[alternative HTML version deleted]]

