smoothen: Smoothen pupil measurements

Description Usage Arguments

View source: R/smoothen.R

Description

smoothen returns a vector of smoothened pupil measurements according to the specified method.

Usage

1
2
3
4
5
6
7
8
9
smoothen(
  pupil,
  time = NULL,
  method = "low pass",
  sampling_frequency = NULL,
  cutoff_frequency = 10,
  padding = 50,
  span = 0.2
)

Arguments

pupil

A numeric vector containing pupil data.

method

The type of interpolation to be used. Possible values are 'low pass' (default) or 'loess'.


WillemSleegers/eyepatch documentation built on Aug. 2, 2021, 8:39 a.m.