vec.swap: vec.swap

vec.swapR Documentation

vec.swap

Description

swaps elements <y> and <n> of vector <x>

Usage

vec.swap(x, y, n)

Arguments

x

= a numeric vector

y

= an integer between 1 and length(<x>)

n

= an integer between 1 and length(<x>)

See Also

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


vsrimurthy/EPFR documentation built on Dec. 24, 2024, 5:20 a.m.