erp_raster: ERP raster plot

Description Usage Arguments Author(s) Examples

View source: R/epoch_images.R

Description

Create a plot showing the ERP at every channel as a single ERP image. By default, this attempts to find channel locations and rearrange the channels such that spatial patterns on the scalp are more discernible. It orders the rows from the most posterior electrode on the right hemisphere to the most anterior electrode on the left hemisphere, with midline electrodes in the middle. If no locations are found, it simply displays the data in its original order.

Usage

1
2
erp_raster(data, anat_order = TRUE, time_lim = NULL, clim = NULL,
  interpolate = FALSE)

Arguments

data

An eeg_epochs object

anat_order

Arrange the channels in a more anatomically representative order. Defaults to TRUE.

time_lim

Time limits of plot - should be a character vector (e.g. c(-.2, .5))

clim

Character vector of min and max values of plotting colour range. e.g. c(-5,5). Defaults to min and max.

interpolate

Smooth the raster plot. Defaults to FALSE.

Author(s)

Matt Craddock, [email protected]

Examples

1
2

craddm/eegUtils documentation built on Dec. 12, 2018, 12:36 a.m.