Description Usage Arguments Value
Get the indices of x
, as constrained by the requested
parameter. If using this
function without requested
constraints, consider using the faster primitive R function
seq_along
instead.
1 | get_indices(x, requested = NULL, strict = FALSE)
|
x |
An object with elements that are accessible by an index. |
requested |
A character vector of names, a logical vector of the same length as |
strict |
Option indicating that |
Integer vector containing indices of x
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.