View source: R/pipeline-detransient.R
speed | R Documentation |
Computes the speed of pupil changes using finite differences between consecutive time points. This is a helper function for the detransient step.
speed(x, y)
x |
A numeric vector of pupil data |
y |
A numeric vector of time data |
A vector of pupil speeds at each time point
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.