powered by
Returns index of values.
ds_rindex(data, values)
a numeric vector
a numeric vector containing the values whose index is returned
Index of the values in data. In case, data does not contain index, NULL is returned.
values
data
index
NULL
# NOT RUN { ds_rindex(mtcars$mpg, 21) ds_rindex(mtcars$mpg, 22) # }
Run the code above in your browser using DataLab