Learn R Programming

erpR (version 0.2.0)

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

Description

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.

Copy Link

Version

Install

install.packages('erpR')

Monthly Downloads

15

Version

0.2.0

License

GPL-3

Maintainer

Giorgio Arcara

Last Published

May 14th, 2014

Functions in erpR (0.2.0)

scalp.cor

plot the timepoint correlations between ERPs and an external variable (scalp array)
create.roi

create electrode region of interests
erp.cor

plot the timepoint correlations between ERPs (single electrode) and an external variable
erpR-package

erpR package
erp.t

plot t-test comparisons at all timepoints between two sets of ERP data frames (single electrode)
check.erplist

check consistency of an erplist
tpairs

calculate pairwise t-tests
scalp

plot ERP waveforms in a scalp array
erp.peak

calculate the peak of several ERP data frames in a given time window
butterfly

ERP butterfly plot
erp.yaxis

Draw an erp y axis
scalp.infl

inspect the influence of a subject on an average (scalp array)
localmin

calculate a local minimum
erp

plot an ERP waveform
erp.add

add an ERP waveform to a plot
char2fac

convert characters to factors
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.
msectopoints

convert points in milliseconds
erp.mean

Calculate the mean of several ERP data frames in a given time window
named.agg

aggregate and keep the original names
erp.latency

calculate latency of several ERP data frames on a given time window
topoplot.palette

Add a palette to a plot
cn

display column names
ERPsets

list of ERP data frames
scalp.t

plot t-test comparisons at all timepoints between two ERP set of data frames (scalp array)
erp.xaxis

Draw an erp x axis
create.mean

create ERP data frames with mean values from a series of data frames contained in an erplist.
erp.infl

inspect the influence of a subject on the average (single electrode).
rearrange

rearrange a data frame from wide to long format
create.diff

create an ERP data frame with differential values
pointstomsec

convert points in milliseconds
topoplot

plot a topographic map of ERP
localmax

calculate a local maximum
factorall

Factorize one or more variables in a data frame
grandaverage

calculate the grandaverage of ERP data frames for graphical purposes