erp.infl {erpR} | R Documentation |
This function returns a diagnostic plot to investigate the influence of a given ERP data frame on the grandaverage of a series of ERP data frames. A GUI is provided to explore the effect of removing a data frame (that is expected to be associated with a Subject) on the grandaverage. Two plots are superposed: the original grandaverage and the average removing the subject selected via the GUI.
erp.infl(base, numbers, electrode, erplist=NULL, startmsec=-200, endmsec=1200, smo=NULL, outnumber=1, lwd=1, lty=1, ...)
base |
a string indicating the beginning of the name of the |
numbers |
the numbers of the subjects to be averaged by the function. |
electrode |
the electrode to be plotted. |
erplist |
a list containing the ERP data frames specified in |
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 |
outnumber |
The number of the subject that will be initially removed from the averaged (this value could be changed also via the GUI). |
lwd |
line width. |
lty |
line type. |
... |
further parameters to be passed to |
The function requires the package rpanel
The function returns a plot of a single electrode showing the influence of a subject on the grandaverage.
Giorgio Arcara
erp
, link{scalp.infl}
## Not run: data(ERPsets) erp.infl(base="Exp1_word_subj", numbers=1:20, electrode="OZ", startmsec=-200, endmsec=1500, erplist=ERPsets) # Notice that Subject 1 is clearly particularly influential # for the average on OZ. ## End(Not run)