Skip to contents

Grammatical correctness

Usage

that(x, arr.ind = FALSE, useNames = TRUE)

Arguments

x

a logical vector or array. NAs are allowed and omitted (treated as if FALSE).

arr.ind

logical; should array indices be returned when x is an array? Anything other than a single true value is treated as false.

useNames

logical indicating if the value of arrayInd() should have (non-null) dimnames at all.

Value

see base::which()

Details

See fortunes::fortune(175).

See also