R/mp_index.R
mp_positions.Rd
Return an integer vector of positions of x in table. Currently this is a simple wrapper around match.
x
table
match
mp_positions(x, table, zero_based = TRUE)
Character vector
Use zero-based indexing? Defaults to TRUE, otherwise standard R one-based indexing is used.
TRUE