moveLastElement | R Documentation |
Move and delete last element of a vector This moves the last element of a vector to an index, then deletes the last element, it is broken out for testing purposes
moveLastElement(v, idx)
v |
a vector |
idx |
The index to move the last element to. |
a vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.