plot_gfp: Plot Global Field Power of EEG Signals

View source: R/plot_gfp.R

plot_gfpR Documentation

Plot Global Field Power of EEG Signals

Description

Global Field Power (Lehmann & Skrandies, 1980) is a way to quantify the amount of activity in the overall electroencephalographic signal at a given timepoint. It corresponds to the spatial standard deviation.

Usage

plot_gfp(data, cols = NULL, keep_trials = FALSE)

Arguments

data

An eeg_epochs object

cols

Condition columns from the epochs metadata to calculate GFP separately for different conditions.

keep_trials

Calculate GFP for each epoch separately, then average over epochs.

Author(s)

Matt Craddock matt@mattcraddock.com

Examples

plot_gfp(demo_spatial)
plot_gfp(demo_spatial, keep_trials = TRUE)
plot_gfp(demo_spatial, cols = "epoch_labels")
plot_gfp(demo_spatial, cols = "epoch_labels", keep_trials = TRUE)

craddm/eegUtils documentation built on March 1, 2025, 3:23 p.m.