getByPositiveOrNegativeIndex | R Documentation |
Get element from vector, counting from head or tail
getByPositiveOrNegativeIndex(elements, index)
elements |
vector of elements |
index |
positive or negative index(es) with absolute value between 1 and length(elements) |
element(s) out of elements corresponding to the index(es) given in index
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.