shiftPositionVector: Shift a the values of a vector by a random amount that is at...

Description Usage Arguments Examples

View source: R/Math.R

Description

Shift a the values of a vector by a random amount that is at least as large as the argument minMvMs

Usage

1
shiftPositionVector(x, timePerSampleRes, minMvMs, samplingRate)

Arguments

x

A vector

timePerSampleRes

Time in sample values (from the .dat files) between the position sample

minMvMs

Minimum shift in ms

samplingRate

Sampling rate of the .dat files.

Examples

1
shiftPositionVector(x=1:100, timePerSampleRes=400, minMvMs = 1000, samplingRate=20000)

kevin-allen/relectro documentation built on May 20, 2019, 9:06 a.m.