invwhich {jwutil} | R Documentation |
for a given vector of ordinals which would reference items in a
vector, list etc, invwhich
returns a logical vector with TRUE for
the cited positions. If length is not provided, the maximum index is used.
invwhich(which, len = max(which))
which |
integer vector of indices, as would be produced by |
len |
integer scalar: length of return vector, defaults to
|
logical vector of length length