Description Usage Arguments Value Author(s) See Also Examples
Add a waveform to a ERP plot created with erp
, erp.t
, or butterfly
functions.
1 2 |
erpdf |
a data.frame with timepoints in row and electrodes in columns. |
electrode |
character indicating the electrode to plot. |
startmsec |
the start time (in ms) of the ERP vector. |
endmsec |
the end time (in ms) of the ERP vector. |
smo |
the smoothing parameter to apply (see |
interval |
a vector with a pair of values indicating the interval (in milliseconds) to be plotted. Default is from startmsec to endmsec. |
col |
the color of the waveform. |
lty |
line type of the waveform . |
lwd |
line width of the waveform. |
... |
further parameters passed to |
The specified waveform is added to an existing plot.
Giorgio Arcara
erp
, butterfly
, erp.t
, erp.infl
1 2 3 4 5 6 7 | data(erplistExample)
word=grandaverage("Exp1_word_subj", 1:20, erplist=erplistExample)
nonword=grandaverage("Exp1_nonword_subj", 1:20, erplist=erplistExample)
erp(word, "Fp1", col="blue")
erp.add(nonword, "Fp1", col="red")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.