| reverse | R Documentation |
Reverses the order of the elements in the container by reference.
reverse(x)
x |
A CppForwardList or CppList object. |
Invisibly returns NULL.
l <- cpp_forward_list(4:9)
l
# 4 5 6 7 8 9
reverse(l)
l
#
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.