create.mean: create ERP data frames with mean values from a series of data...

Description Usage Arguments Details Value Author(s) See Also Examples

Description

This function creates a new set of data frames from two sets of paired ERP data frames by averaging the values of the original sets.

Usage

1
create.mean(bases, numbers, outname = NULL, erplist = NULL, fileinfo = 1)

Arguments

bases

a vector of strings indicating the beginning of the names of the data frames containing the ERP data to be averaged.

numbers

the numbers of the subjects to be averaged.

outname

the base of the names of the returned data frames.

erplist

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

fileinfo

a number indicating from which set of objects specified in the argument bases the information of the data frame is retrieved.

Details

For more information on fileinfo argument see Details section of import.erp.

Value

A series of ERP data frames obtained by averaging the specified sets.

Author(s)

Giorgio Arcara

See Also

create.diff

Examples

1
2
3
4
5
6
data(erplistExample)

ERPmean=create.mean(c("Exp1_word_subj", "Exp1_nonword_subj"), 1:20,
outname="Exp1_mean_subj", erplist=erplistExample)

erplistExample=c(erplistExample, ERPmean)

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