which {narray}R Documentation

A multidimensional which function

Description

A multidimensional which function

Usage

which(x, drop = TRUE)

Arguments

x

N-dimensional logical array

drop

Return a vector if called on a vector

Value

A matrix with indices where A == TRUE


[Package narray version 0.5.1 Index]