Skip to contents

Helper function to calculate confounds for epoched time series data. This function is used internally by both summarize_confounds() and epoch().

Usage

calculate_epoched_confounds(eyeris, epoch_names, hz, verbose = TRUE)

Arguments

eyeris

An object of class eyeris derived from load_asc()

epoch_names

A vector of epoch names to process

hz

The sampling rate

verbose

A flag to indicate whether to print progress messages

Value

An updated eyeris object with epoched confounds