Description Usage Arguments Value Examples
Replace values in a vector
1 | swap(vec, from, to)
|
vec |
a vector |
from |
a vector of values that will be replaced in |
to |
a vector of the same length as |
a vector of the same length as vec
, with values replaced
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.