erp_image: Plot ERP images

Description Usage Arguments Methods (by class) Author(s)

View source: R/epoch_images.R

Description

Plot an ERP image from a single electrode. Smooths over a series of trials in order to make across-trial patterns more apparent.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
erp_image(data, ...)

## Default S3 method:
erp_image(data, electrode = "Cz", smoothing = 10,
  clim = NULL, interpolate = FALSE, ...)

## S3 method for class 'eeg_epochs'
erp_image(data, electrode = "Cz", smoothing = 10,
  clim = NULL, interpolate = FALSE, ...)

## S3 method for class 'eeg_ICA'
erp_image(data, component = "Comp1", smoothing = 10,
  clim = NULL, interpolate = FALSE, ...)

Arguments

data

Data frame to be plotted. Requires an amplitude column.

...

Other arguments passed to the method.

electrode

electrode at which to generate an ERP image.

smoothing

Number of trials to smooth over when generating image

clim

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

interpolate

Perform interpolation to produce smoother looking plots. Defaults to FALSE.

component

eeg_ICA component to plot

Methods (by class)

Author(s)

Matt Craddock, [email protected]


craddm/eegUtils documentation built on Dec. 8, 2018, 2:15 p.m.