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

This package is dedicated to the analysis of event-related potentials (ERPs). Event-related potentials are the measured brain responses associated with a specific sensory, cognitive, or motor event and are obtained from electroencephalographic (EEG) signal. The erpR package contains a series of functions for importing ERP data, computing traditional ERP measures, exploratory ERP analyses and plotting.

AuthorGiorgio Arcara, Anna Petrova
Date of publication2016-09-27 14:12:15
MaintainerGiorgio Arcara<>

View on R-Forge

Man pages

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...

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...

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

erp.latency: calculate latency of several ERP data frames on a given time...

erp.mean: Calculate the mean of several ERP data frames in a given time...

erp.peak: calculate the peak of several ERP data frames in a given time...

erpR-package: erpR package

ERPsets: list of ERP data frames

erp.t: plot t-test comparisons at all timepoints between two sets of...

erp.xaxis: Draw an erp x axis

erp.yaxis: Draw an erp y axis

factorall: Factorize one or more variables in a data frame

grandaverage: calculate the grandaverage of ERP data frames for graphical...

import.erp: import ERP data matrices from ASCII files (file extension...

localmax: calculate a local maximum

localmin: calculate a local minimum

msectopoints: convert points in milliseconds

ms.locator: locate ms on a ERP plot

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...

scalp.infl: inspect the influence of a subject on an average (scalp...

scalp.t: plot t-test comparisons at all timepoints between two ERP set...

topoplot: plot a topographic map of ERP

topoplot.palette: Add a palette to a plot

tpairs: calculate pairwise t-tests

Files in this package

erpR/R/butterfly.R erpR/R/char2fac.R erpR/R/check.erplist.R erpR/R/cn.R erpR/R/create.diff.R erpR/R/create.mean.R erpR/R/create.roi.R erpR/R/erp.R erpR/R/erp.add.R erpR/R/erp.cor.R erpR/R/erp.infl.R erpR/R/erp.latency.R erpR/R/erp.mean.R erpR/R/erp.peak.R erpR/R/erp.t.R erpR/R/erp.xaxis.R erpR/R/erp.yaxis.R erpR/R/factorall.R erpR/R/grandaverage.R erpR/R/import.erp.R erpR/R/localmax.R erpR/R/localmin.R erpR/R/ms.locator.R erpR/R/msectopoints.R erpR/R/named.agg.R erpR/R/pointstomsec.R erpR/R/rearrange.R erpR/R/scalp.R erpR/R/scalp.cor.R erpR/R/scalp.infl.R erpR/R/scalp.t.R erpR/R/topoplot.R erpR/R/topoplot.palette.R erpR/R/tpairs.R
erpR/man/ERPsets.Rd erpR/man/butterfly.Rd erpR/man/char2fac.Rd erpR/man/check.erplist.Rd erpR/man/cn.Rd erpR/man/create.diff.Rd erpR/man/create.mean.Rd erpR/man/create.roi.Rd erpR/man/erp.Rd erpR/man/erp.add.Rd erpR/man/erp.cor.Rd erpR/man/erp.infl.Rd erpR/man/erp.latency.Rd erpR/man/erp.mean.Rd erpR/man/erp.peak.Rd erpR/man/erp.t.Rd erpR/man/erp.xaxis.Rd erpR/man/erp.yaxis.Rd erpR/man/erpR-package.Rd erpR/man/factorall.Rd erpR/man/grandaverage.Rd erpR/man/import.erp.Rd erpR/man/localmax.Rd erpR/man/localmin.Rd erpR/man/ms.locator.Rd erpR/man/msectopoints.Rd erpR/man/named.agg.Rd erpR/man/pointstomsec.Rd erpR/man/rearrange.Rd erpR/man/scalp.Rd erpR/man/scalp.cor.Rd erpR/man/scalp.infl.Rd erpR/man/scalp.t.Rd erpR/man/topoplot.Rd erpR/man/topoplot.palette.Rd erpR/man/tpairs.Rd

Questions? Problems? Suggestions? or email at

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.