powered by
A wrapper for the stats::loess function, with default parameters suitable for smoothing raw eye data
smoother(data, span = 0.05, plot = FALSE)
a dataframe of the same shape as the input data
A dataframe with raw data (time, x, y, trial) for one participant
From stats::loess. The parameter alpha which controls the degree of smoothing.
whether to plot the raw and smoothed plot for inspection
Analyses data separately for each unique combination of values in pID and trial.
pID
trial
data <- combine_eyes(HCL) smoother(data) #with an inspection plot smoother(data, span = .02, plot = TRUE)
Run the code above in your browser using DataLab