Description Usage Arguments Value Examples
returns a vector with the indices into the dataset, either as the named entries or the ordered positions of entries
1 |
data |
any data set with positional elements |
either a numeric vector of positional indices or a character vector of named entries
1 2 3 | get_indices(100:110)
get_indices(c('a'=10,'b'=20))
get_indices(iris)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.