ERP butterfly plot

Share:

Description

A butterfly plot of several ERP data frames.

Usage

1
2
3
butterfly(base, numbers,  electrode = NULL, startmsec = - 200, 
endmsec = 1200, 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(ERPsets)
butterfly(base="Exp1_nonword_subj", numbers=1:20, electrode="Fp1", smo=0, 
startmsec=-200, endmsec=1500, erplist=ERPsets, outline=1, ylim=c(-20,20), out.col="red")

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.