Shift: Shift (Internal)

Description Usage Arguments Value

Description

Shifts the contents of a vector n places to the right (positive n) or left (negative n).

Usage

1
Shift(x, n)

Arguments

x

vector; the values to be shifted

n

atomic integer; the number of places to Shift

Value

The shifted vector x (same length as the input vector)


max-graham/metrics documentation built on May 5, 2019, 5:53 p.m.