knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)
library(eegUtils)

eegUtils

eegUtils uses S3 objects to store EEG data and associated information such as channel locations. Using different object classes for data structured in different ways ensures that the various plotting functions work consistently across different types of EEG data. For example, there are different classes for epoched (eeg_epochs) and continuous data (eeg_data), and for time-frequency representations of data (eeg_tfr).

eeg_data objects

eeg_data objects are the base class used for continuous data. When raw data is imported, the output is this class. This class is a list constituting the following entries:

eeg_epochs

eeg_epochs objects share the same overall structure with eeg_data objects, but some of the internals currently differ, as described below.

eeg_tfr

eeg_tfr objects hold time-frequency representations of eeg_epochs objects.

eeg_ICA

eeg_ICA objects contain the results of either an ICA or an SSD decomposition applied to an eeg_epochs object.



neuroconductor/eegUtils documentation built on Feb. 3, 2023, 5:33 p.m.