read_delim2eeg_data: Reads aplitudes from a text delimited file

View source: R/read_delim2eeg_data.R

read_delim2eeg_dataR Documentation

Reads aplitudes from a text delimited file

Description

Reads aplitudes from a text delimited file

Usage

read_delim2eeg_data(
  file,
  time_column = "time",
  srate = 256,
  chan_info = NULL,
  .unit = "milliseconds"
)

Arguments

file

file's name

time_column

name of the column that contains the time

srate

sampling rate. 256 is the default

chan_info

a tibble with channel locations. It has the following columns electrode, radius, theta, phi, cart_x, cart_y, cart_z, x, y(NULL by default)

.unit

if "milliseconds" it divides the time by 1000

Value

returns a tibble object with columns .channel,radius,theta,phi,.x,.y,.z.

Author(s)

Livio Finos


livioivil/eegusta documentation built on May 6, 2024, 9:20 p.m.