rcpp_which | R Documentation |
Rcpp which.
rcpp_which(x, y)
x |
Integer with value to find. |
y |
Vector with values. |
Returns the index of x
within the y
vector.
The index of the first element is 0. If element is not present within y
NA
is returned. Returns only the first element if x
is present
multiple times in y
.
vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.