Learn R Programming

eyeris (version 2.1.1)

calculate_epoched_confounds: Calculate confounds for epoched data

Description

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

Usage

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

Value

An updated eyeris object with epoched confounds

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