Description Usage Arguments Methods (by class) Author(s)
Plot an ERP image from a single electrode. Smooths over a series of trials in order to make across-trial patterns more apparent.
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, ...)
|
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 |
|
default
: Default function operates on normal data frames
eeg_epochs
: Create an erp_image
from eeg_epochs
eeg_ICA
: Plot component image from eeg_ICA
Matt Craddock, matt@mattcraddock.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.