create.mean {erpR} | R Documentation |
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.
create.mean(bases, numbers, outname = NULL, erplist = NULL, fileinfo = 1)
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 |
erplist |
a list containing the ERP data frames specified in |
fileinfo |
a number indicating from which set of objects specified in the argument |
For more information on fileinfo
argument see Details section of import.erp
.
A series of ERP data frames obtained by averaging the specified sets.
Giorgio Arcara
data(ERPsets) ERPsetsmean=create.mean(c("Exp1_word_subj", "Exp1_nonword_subj"), 1:20, outname="Exp1_mean_subj", erplist=ERPsets) ERPsets=c(ERPsets, ERPsetsmean)