Helper function to calculate confounds for epoched time series data.
This function is used internally by both summarize_confounds()
and epoch().
Arguments
- eyeris
An object of class
eyerisderived fromload_asc()- epoch_names
A vector of epoch names to process
- hz
The sampling rate
- verbose
A flag to indicate whether to print progress messages
