vec.swap | R Documentation |
swaps elements <y> and <n> of vector <x>
vec.swap(x, y, n)
x |
= a numeric vector |
y |
= an integer between 1 and length(<x>) |
n |
= an integer between 1 and length(<x>) |
Other vec: vec.cat
, vec.count
,
vec.cum
, vec.diff
,
vec.ex.filters
, vec.first
,
vec.lag
, vec.last
,
vec.max
, vec.min
,
vec.named
, vec.read
,
vec.to.list
, vec.unique
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.