Description Usage Arguments Methods (by class) Examples
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 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | erp_image(data, ...)
## Default S3 method:
erp_image(
data,
electrode = "Cz",
time_lim = NULL,
smoothing = 10,
clim = NULL,
interpolate = FALSE,
...
)
## S3 method for class 'eeg_epochs'
erp_image(
data,
electrode = "Cz",
time_lim = NULL,
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. |
time_lim |
Time limits of plot |
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
1 2 3 | erp_image(demo_epochs, electrode = "A31")
erp_image(demo_epochs, electrode = "A31", interpolate = TRUE)
erp_image(demo_epochs, electrode = "A31", smoothing = 5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.