butterfly: ERP butterfly plot

Description Usage Arguments Value Author(s) See Also Examples

Description

A butterfly plot of several ERP data frames.

Usage

1
2
3
butterfly(base, numbers,  electrode = NULL, startmsec = NULL, 
endmsec = NULL, erplist = NULL, outline=NULL, out.col="black", 
add = FALSE, ...)

Arguments

base

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

numbers

the numbers of the subjects to be averaged by the function.

electrode

the electrode to be plotted.

startmsec

the start time (in ms) of the ERP data frames. It can be a negative value, indicating the baseline time frame.

endmsec

the end time (in ms) of the ERP data frames.

erplist

a list containing the ERP data frames specified in base and numbers.

outline

the number of the subject to be outlined (it will be plotted with lwd=2).

out.col

the color of the outlined ERP waveform.

add

add the current plot to a previous plot

...

further parameters to be passed to link{erp}.

Value

A butterfly plot.

Author(s)

Giorgio Arcara

See Also

erp, erp.infl, scalp.infl

Examples

1
2
3
data(erplistExample)
butterfly(base="Exp1_nonword_subj", numbers=1:20, electrode="Fp1", smo=0, 
erplist=erplistExample, outline=1, ylim=c(-20,20), out.col="red")

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