View source: R/ep.eye_preprocess_helpers.R
ep.eye_interp_pupil | R Documentation |
Interpolate over missing pupil data
ep.eye_interp_pupil(ep.eye, algor = "linear", maxgap = 1000)
ep.eye |
ep.eye object containing ps_smooth as a column in pupil data. |
algor |
preferred interpolation algorithm, see imputeTS::na_interpolation for options |
maxgap |
Maximum amount of missing *time (in ms)* to interpolate over. Anything above this will be left NA. Converts internally from time to nmeasurements if data is not sampled at 1000Hz. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.