whichforlist: Auxiliary function: 'which' for lists

View source: R/mtr.R

whichforlistR Documentation

Auxiliary function: which for lists

Description

Auxiliary function that makes it possible to use which with a list.

Usage

whichforlist(vector, obj)

Arguments

vector

the vector for which we want to check the entries of

obj

the value for which we want the vector to match on.

Value

a vector of positions where the elements in vector are equal to obj.


jkcshea/ivmte documentation built on Aug. 31, 2024, 6:44 p.m.