Align different epochs based on event of interest (useful for Tobii Eyetrackers)
1 2 | splitGazeData(x, evento, flag, tw, sp = 1/60, n_before = 0.5,
maxEpochNa = 0.1)
|
x |
signal |
evento |
factor with lenght equal to x (signal) indicating for each sample the trial event ("fixation", "target", etc. |
flag |
selected event to align with (epochs will be time locked to the beginning of this event) |
tw |
length of temporla window in sec |
sp |
sampling period (secs, e.g. 1/60) |
maxEpochNa |
max proportion of missing values (NA) in retained epochs (0:1) |
flag |
cut-off frequency |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.