arr.ind2ind | R Documentation |
Transforms array indexes to vector indexes. For indexes out of bounds NA is returned. The function is transformed from the function which().
arr.ind2ind(arr.ind, shape)
arr.ind |
is either a list of subscripts, as typed into [], or an array indexes, to be transformed to vector indexes. |
shape |
is the dimension of the array. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.