Skip to content
Prev 267243 / 398502 Next

General indexing in multidimensional arrays

On 11-08-01 5:38 AM, Jannis wrote:
Base R doesn't have anything like that as far as I know.  The closest is 
matrix indexing: you construct a 3 column matrix whose rows are the 
indices of each element you want to extract.

Possibly plyr or some other package has functions to do this.

Duncan Murdoch