Description Usage Arguments Value Author(s)
View source: R/extract_features.R
Extracts features from raw EEG data using wavelets
1 | extract_features(cleandatadir,filtertypes,epochlength,fn,sf=128,n.levels=7)
|
cleandatadir |
location of the csv-files with cleaned data per person |
filtertypes |
wavelet filter types as expected by the mra function from the wavelets package, e.g. c("d2","d4") |
epochlength |
duration of epoch (time window) in seconds |
fn |
names of features to extract from wavelets, e.g. "sd" to extract the standardard. Underlying code includes explorative work on other features |
sf |
sample frequency in Hertz |
n.levels |
number of wavelet levels to extract |
DAT |
dataframe with features |
LAB |
dataframe with labels |
Vincent T van Hees
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.