| ds_rindex | R Documentation |
Returns index of values.
ds_rindex(data, values)
data |
a numeric vector |
values |
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.
# returns index of 21
ds_rindex(mtcars$mpg, 21)
# returns NULL
ds_rindex(mtcars$mpg, 22)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.