Description Usage Arguments Details Value Author(s) Examples
This functions extract data from an erplist selecting a subsample of timepoints (i.e., a smaller time window than the original one)
1 2 |
bases |
a vector of chars indicating the beginning of the names of |
numbers |
the numbers of the subjects to be averaged by the function. |
win.ini |
the initial edge (in ms) of the window of the timepoints to extract. |
win.end |
the final edge (in ms) of the window of the timepoints to extract. |
point.ini |
the initial point of the timepoints to extract (overridded in |
point.end |
the final point of the timepoints to extract (overridded in |
erplist |
a list containing the ERP data frames specified in |
startmsec |
the start time (in ms) of the ERP vector |
endmsec |
the end time (in ms) of the ERP vector |
The function creates a new eplists, with smaller objects then the original. The initial and final timepoints of the new objects are specified (in ms)
with win.ini
and win.end
A new erplist with the extracted data.
Giorgio Arcara
1 2 3 4 5 6 | data(erplistExample)
erplist_ext=erplist.extract(base="Exp1_word_subj", numbers=1:20,
win.ini=-100, win.end=1200, erplist=erplistExample)
# The new erplist now have data that starts from -100 to 1200 ms
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.