Description Usage Arguments Details Value Note Author(s) Examples
This function resample all the data of several ERP data frames, stored in a erplist
. It relies on the signal
package.
1 2 |
base |
a string indicating the beginning of the name of |
numbers |
the numbers of the subjects to be averaged by the function. |
erplist |
a list containing the ERP data frames specified in |
outname |
the |
sr.factor |
A vector of two values, determining the ratio of the resulting resampling. For example the default |
The function takes an erplist
containing ERP data.frame
as input, in the style of erpR
and use the resample
function from the signal
pacakge to perform resampling.
A new erplist with the data resampled.
This function rely on the resample
function from signal
package. Note that you have to install separately the signal
package.
Giorgio Arcara
1 2 3 4 5 6 7 8 9 | ## Not run:
data(erplistExample)
erplist_res=erplist.resample(base="Exp1_word_subj", numbers=1:20,
erplist=erplistExample, sr.factor=c(1,2))
# original data were sampled at 500 Hz, data in erplist_res are sampled at 250 Hz.
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.