View source: R/validateIndices.R
validateIndices | R Documentation |
Computes validated positive indices from given indices.
validateIndices(idxs = NULL, maxIdx, allowOutOfBound = TRUE)
idxs |
A |
maxIdx |
The possible max index. |
allowOutOfBound |
Allow positive out of bound to indicate
|
WARNING: This function is defunct and will be removed in a future version.
Returns a validated integers list indicating the indices. If some of the indices cannot be represented as an integer, the indices are returned as doubles.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.