Description Usage Arguments Value
Get the indices of an object, as constrained by the requested
parameter. If using this function without requested
constraints,
consider using the faster primitive R function seq_along
instead.
1 2 3 4 5 6 7 | getIndices(x, requested = NULL, strict = FALSE)
## Default S3 method:
getIndices(x, requested = NULL, strict = FALSE)
## S3 method for class 'qtl'
getIndices(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 the input object, or a numeric vector containing indices of the input object. If this parameter is not specified, all indices are returned. |
strict |
Option indicating that |
Integer vector of object indices.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.