Description Usage Arguments Value Examples
downsample
reduces the sampling rate using median values for the
Pupil and gaze coordinates.
1 | downsample(data, SamplingRate = NULL, NewRate = NULL)
|
data |
A data frame object created from |
SamplingRate |
A postive integer specifying the current sampling rate. |
NewRate |
A postive integer specifying the desired downsampled rate. |
An object of type data table as described in tibble.
1 2 3 4 5 6 7 | # Load example data
data("Pupilex4")
dat <- downsample(Pupilex4, SamplingRate = 250, NewRate = 25)
# Please see the vignettes for detailed example usage.
vignette("PupilPre_Basic_Preprocessing", package="PupilPre")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.