s-news
[Top] [All Lists]

summary of finding elements in an array

To: s-news list <s-news@lists.biostat.wustl.edu>
Subject: summary of finding elements in an array
From: Carlisle Thacker <thacker@aoml.noaa.gov>
Date: Wed, 27 Jun 2001 08:48:09 -0400 (EDT)
Thanks to Nick Ellis, Deric Hetzel,  Luciano Molinari, Hong Ooi,
Alan Zaslavsky, and Bert Gunter.

What I was looking for was an array of indices:
test[cbind(test.i,test.j)]

********************************************************
* William Carlisle Thacker                             *
*                                                      *
* Atlantic Oceanographic and Meteorological Laboratory *
* 4301 Rickenbacker Causeway                           *
* Miami, Florida 33149 USA                             *
* Office:  (305) 361-4323                              *
* Fax:     (305) 361-4392                              *
********************************************************



<Prev in Thread] Current Thread [Next in Thread>
  • summary of finding elements in an array, Carlisle Thacker <=