Compare a vector of column names or indexes against another vector which is known to be true.
map_indexes(x, y)
x | Character or numeric vector of possible matches. |
---|---|
y | Character or numeric vector of true values.
|
A numeric vector of the same length of x and y containing matched column indexes.