Wrap vector

wrapvec(x, delta = 0L, ...)

Arguments

x

Vector or integer

delta

Shift

...

Additional parameters

Examples

wrapvec(5,2)
#> [1] 3 4 5 1 2