importBVdat: Import binary file exported from BrainVision

Description Usage Arguments Value Note

View source: R/erp_preprocess.R

Description

importBVdat imports a binary file exported from the BrainVision software

Usage

1
2
3
4
5
6
importBVdat(
  file_name,
  file_path = getwd(),
  id = "",
  import_options = importOptions()
)

Arguments

file_name

character string; the name of the input files without extensions

file_path

character string; the path to the files if they are not in the working directory (default)

id

character string denoting the identification code of the participant

import_options

a list, which should be given by calling importOptions

Value

A list with three named elements: eeg (array), markers (data.frame), channels (data.frame)

Note

This is a custom function tailored for the special datasets collected in our lab. Use it with extra care for general purposes!


tdeenes/eegR documentation built on April 19, 2021, 4:17 p.m.