IO

Functions for importing data or electrode information into R.

import_chans()

Import channel locations from various file formats

import_erplab()

Import from ERPLAB .erp files

import_ft()

Import Fieldtrip files

import_raw()

Function for reading raw data.

import_set()

Load EEGLAB .set files

export_bva()

Export continuous data in Brain Vision Analyzer format

Processing

Functions for pre-processing and processing data

apply_ica()

Recreate channel timecourses from ICA decompositions.

compute_csd()

Convert to Current Source Density

eeg_average()

Calculate averages (e.g. ERPs) for single datasets

eeg_combine()

Combine eegUtils objects

eeg_decompose()

Generalized eigenvalue decomposition based methods for EEG data

eeg_downsample()

Downsampling EEG data

eeg_filter()

Filter EEG data

eeg_reference() reref_eeg()

Referencing

electrode_locations()

Get standard electrode locations

epoch_data()

Create epochs from EEG data

interp_elecs()

Channel interpolation

rm_baseline()

Baseline correction

run_ICA()

Independent Component Analysis for EEG data

tag_events()

Tag events

Artefact rejection

Functions for artefact rejection.

ar_acf()

Detect low autocorrelation of ICA components

ar_chanfoc()

Detect high channel focality of ICA components

ar_eogcor()

Detect high component correlation with eye channels

ar_eogreg()

Remove EOG using regression

ar_FASTER() eeg_FASTER()

FASTER EEG artefact rejection

ar_thresh()

Simple absolute value thresholding

ar_trialfoc()

Detect high trial focality of ICA components

epoch_stats()

Epoch statistics

channel_stats()

Channel statistics

view_artefacts()

Artefact browser

Selection

Functions for selecting subsets of data

select_elecs()

Select electrodes from a given dataset

select_epochs()

Select epochs

select_freqs()

Select frequencies

select_times()

Select timerange

reexports

Objects exported from other packages

Plotting

Functions for plotting data

browse_data()

Browse EEG data.

erp_image()

Plot ERP images

erp_raster()

ERP raster plot

erp_scalp()

Plot event-related potentials using a scalp based layout

geom_topo()

Create a topographical plot

get_scalpmap()

Calculate an interpolated scalpmap

interactive_scalp()

Interactive scalp maps

plot_butterfly()

Create a butterfly plot from timecourse data

plot_difference()

Plot ERP difference waves

plot_electrodes()

Plot electrode locations

plot_psd()

Plot Power Spectral Density

plot_tfr()

Time-frequency plot

plot_timecourse()

Plot 1-D timecourse data.

stat_scalpmap() geom_head() geom_mask() geom_ears() geom_channels()

Create an interpolated scalp surface

stat_scalpcontours()

Create an interpolated scalp surface

topoplot()

Topographical Plotting Function for EEG

view_ica()

EEG component viewer

Frequency analysis

Functions related to (time-)frequency analysis

compute_itc()

Calculate inter-trial coherence

compute_psd()

Compute power spectral density

compute_tfr()

Compute Time-Frequency representation of EEG data

Converters

Functions for converting objects to data.frames

as.data.frame(<eeg_data>)

Convert eeg_data to data.frame

as.data.frame(<eeg_epochs>)

Convert eeg_epochs object to data.frame

as.data.frame(<eeg_evoked>)

Convert eeg_evoked object to data frame

as.data.frame(<eeg_ICA>)

Convert eeg_ICA object to data frame

as.data.frame(<eeg_lm>)

Convert eeg_lm to data.frame

as.data.frame(<eeg_stats>)

Convert eeg_stats objects to data frames

as.data.frame(<eeg_tfr>)

Convert eeg_tfr objects to data frames

Accessors

Functions for accessing and modifying specific elements of an object

channels() `channels<-`()

Modify channel information

epochs() `epochs<-`()

Modify the epochs structure

events() `events<-`()

Modify events structure

channel_names()

Retrieve signal/channel names

get_participant_id() get_recording() set_participant_id() set_recording()

Query and set elements of the epochs metadata structures