cshift: Circularly shift vector elements

Description Usage Arguments Value

View source: R/common_tools.R

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


cocoreg documentation built on May 31, 2017, 5:18 a.m.