perm_vec {RSDK} | R Documentation |
perm_vec()
Description
This function permutes a given vector with a cyclic permutaion
Usage
perm_vec(x, i)
Arguments
x |
A vector |
i |
The length of the cyclic permutation |
Value
A vector permuted cyclically by x
values
Examples
perm_vec(1:6,4)
perm_vec(27:50,15)
[Package RSDK version 1.0.1 Index]