Circularly shift vector elements

Description

Circularly shift vector elements

Usage

1
cshift(x, by)

Arguments

x

[1,N] numeric, A vector

by

[1,1] integer, How many positions to shift. by > 0 -> shift to right by = 0 -> no shift by < 0 -> shift to left

Value

[1,N] numeric, Circularly shifted signal

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.