read_csv_ieeg: Read comma separated value file and ignore headers

View source: R/csv.R

read_csv_ieegR Documentation

Read comma separated value file and ignore headers

Description

Resolved some irregular 'iEEG' format where the header could be missing.

Usage

read_csv_ieeg(file, nrows = Inf, drop = NULL)

Arguments

file

comma separated value file to read from. The file must contains all numerical values

nrows

number of rows to read

drop

passed to fread

Details

The function checks the first two rows of comma separated value file If the first row has different storage.mode than the second row, then the first row is considered header, otherwise header is treated missing. Note file must have at least two rows.


raveio documentation built on July 26, 2023, 5:29 p.m.