Description Usage Arguments Value
View source: R/smooth_interpolate_pupil.R
Smooths the pupil trace before linear or cubic interpolation.
1 2 3 4 |
datafile |
data frame. |
pupil |
name of pupil column |
extendpupil |
name of pupil col that was extended |
extendblinks |
blinks already extended in data frame |
method.first |
whether you want to smooth/interpolate or interpolate/smooth |
maxgap |
max number of NAs to interpolate. |
type |
type of interpolation (linear or cubic) |
hz |
recording frequency of ET |
n |
moving average window |
df containing interpolated data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.