whichforlist: Auxiliary function: 'which' for lists

Description Usage Arguments Value

View source: R/mtr.R

Description

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

Usage

1

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.


ivmte documentation built on Sept. 17, 2021, 5:06 p.m.