Description Usage Arguments Details Value Author(s) Examples
Creates an ERP figure for each electrode and layouts them on the scalp.
1 2 3 4 5 6 7 8 9 10 11 |
data |
An EEG dataset. |
electrode |
Column name containing electrode names in data. Defaults to "electrode". |
amplitude |
Column name containing amplitudes in data. Defaults to "amplitude". |
time |
Column name containing time in data. Defaults to "time". |
color |
Variable to color lines by. If no variable is passed, only one line is drawn for each electrode. |
size |
Size of line(s). |
baseline |
Character vector of times to subtract for baseline correct. |
show_guide |
Should a guide be shown. |
montage |
Name of an existing montage set. Defaults to NULL; (currently only 'biosemi64alpha' available other than default 10/20 system) |
The function uses default electrode names and locations contained in the package.
Returns a ggplot2 plot object.
Matti Vuorre, mv2521@columbia.edu
1 | erp_scalp(demo_epochs, montage = "biosemi64alpha")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.