View source: R/interpolate_pupil.R
interpolate_pupil | R Documentation |
Turns pupil sizes with blinks NA and linearly interpolates values
interpolate_pupil(datafile, extendblinks = FALSE, maxgap = Inf,
type = NULL, hz = NA)
datafile |
data frame. |
extendblinks |
blinks already extended in data frame |
maxgap |
max number of NAs to interpolate. |
type |
type of interpolation (linear or cubic) |
hz |
recording frequency of ET |
data frame containing interpolated data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.