extract_features: Creates a dictionary (dataframe) of all features in the data

Description Usage Arguments Value Author(s)

View source: R/extract_features.R

Description

Extracts features from raw EEG data using wavelets

Usage

1
extract_features(cleandatadir,filtertypes,epochlength,fn,sf=128,n.levels=7)

Arguments

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

Value

DAT

dataframe with features

LAB

dataframe with labels

Author(s)

Vincent T van Hees


NLeSC/EEG-epilepsy-diagnosis documentation built on May 7, 2019, 6:02 p.m.