arr.ind2ind: Transforms array indexes to vector indexes. For indexes out...

Description Usage Arguments

View source: R/arr.ind2ind.R

Description

Transforms array indexes to vector indexes. For indexes out of bounds NA is returned. The function is transformed from the function which().

Usage

1
arr.ind2ind(arr.ind, shape)

Arguments

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.


arnejohannesholmin/TSD documentation built on Oct. 15, 2019, 8:33 a.m.