sv: Shift a vector

Description Usage Arguments

Description

This is an internal function for all_game_data, it shifts the values in vec by the values of the shift vector.

Usage

1
sv(vec, shift, sorted = TRUE)

Arguments

sorted

If TRUE, the returned vector is sorted

v

A numerical vector to shift

l

A numerical vector with the shifting parameters


Niklas191/amateuR documentation built on Oct. 30, 2019, 10:14 p.m.