decimate.eye: Decimates samples from EDF file

Description Usage Arguments Value Examples

View source: R/decimate.eye.R

Description

Decimates samples from EDF file

Usage

1
decimate.eye(filename, q, na.code = "NaN")

Arguments

filename

- name of a file with extension

q

- integer factor to downsample by. E.g. if your file's sampling rate is 1000 Hz and you want to downsample it to 500 Hz, q should equal "2".

na.code

- a value to replace NAs in a table. NAs values in data stand for blinks.

Value

Writes a table to a working derictory in ascii format compatible with EEGlab

Examples

1
decimate.eye('23566333.edf', 2)

mayenok/hybridEyeEEG documentation built on May 21, 2019, 2:19 p.m.