erp.infl: inspect the influence of a subject on the average (single...

Description Usage Arguments Details Value Author(s) See Also Examples

Description

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.

Usage

1
2
3
 
	erp.infl(base, numbers, electrode, erplist=NULL,  startmsec=NULL, 
	endmsec=NULL, smo=NULL, outnumber=1, lwd=1, lty=1,  ...)

Arguments

base

a string indicating the beginning of the name of the data.frame containing the ERP data.

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 base and numbers.

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 smooth.spline). Default is NULL and no smoothing is applied.

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 erp function called within erp.infl.

Details

The function requires the package rpanel

Value

The function returns a plot of a single electrode showing the influence of a subject on the grandaverage.

Author(s)

Giorgio Arcara

See Also

erp, link{scalp.infl}

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
data(erplistExample)

erp.infl(base="Exp1_word_subj", numbers=1:20, electrode="OZ", erplist=erplistExample)

# Notice that Subject 1 is clearly particularly influential
# for the average on OZ.

## End(Not run)

erpR documentation built on June 7, 2019, 3 a.m.