# Event-related potentials (ERP) analysis, graphics and utility functions

## Documentation for package ‘erpR’ version 0.2.0

- DESCRIPTION file.

## Help Pages

erpR-package | erpR package
butterfly | ERP butterfly plot
char2fac | convert characters to factors
check.erplist | check consistency of an erplist
cn | display column names
create.diff | create an ERP data frame with differential values
create.mean | create ERP data frames with mean values from a series of data frames contained in an erplist.
create.roi | create electrode region of interests
erp | plot an ERP waveform
erp.add | add an ERP waveform to a plot
erp.cor | plot the timepoint correlations between ERPs (single electrode) and an external variable
erp.infl | inspect the influence of a subject on the average (single electrode).
erp.latency | calculate latency of several ERP data frames on a given time window
erp.mean | Calculate the mean of several ERP data frames in a given time window
erp.peak | calculate the peak of several ERP data frames in a given time window
erp.t | plot t-test comparisons at all timepoints between two sets of ERP data frames (single electrode)
erp.xaxis | Draw an erp x axis
erp.yaxis | Draw an erp y axis
erpR | erpR package
ERPsets | list of ERP data frames
factorall | Factorize one or more variables in a data frame
grandaverage | calculate the grandaverage of ERP data frames for graphical purposes
import.erp | import ERP data matrices from ASCII files (file extension should be specified). Data are imported as a list containing a data frame for each files imported.
localmax | calculate a local maximum
localmin | calculate a local minimum
msectopoints | convert points in milliseconds
named.agg | aggregate and keep the original names
pointstomsec | convert points in milliseconds
rearrange | rearrange a data frame from wide to long format
scalp | plot ERP waveforms in a scalp array
scalp.cor | plot the timepoint correlations between ERPs and an external variable (scalp array)
scalp.infl | inspect the influence of a subject on an average (scalp array)
scalp.t | plot t-test comparisons at all timepoints between two ERP set of data frames (scalp array)
topoplot | plot a topographic map of ERP
topoplot.palette | Add a palette to a plot
tpairs | calculate pairwise t-tests