Description Usage Arguments Examples
This function allows you to swap the position of two elements of a vector
1 | swap(x, from, to)
|
x |
a vector |
from |
the first element to swap |
to |
the second element to swap |
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.