erplist.sortbytime {erpR} | R Documentation |
This function is meant to be used for single trial erplist. Sort all erpobj in an erplist according to the attribute 'TrialTime', stored in the erplist.
erplist.sortbytime(erplist=NULL, new.name=NULL)
erplist |
a list containing the ERP data frames specified in |
new.name |
Optional: the new name of the objects in the erplist. |
This function is meaningless only with single trial erplist. It can be used after importing with import.erp
.
To sort the trials, according to TrialTime (and rename, accordingly)
Giorgio Arcara
# this is just an example of syntax with NON existing files. # you should youse on your file (at single trial) ## foo = import.erp("non_ex_", numbers=1:50, fileinfo=TRUE, timeinfo=TRUE) ## foo_sorted = eplist.sortbytime(foo)