read_csv_no_header: Read csv file and ignore headers

Description Usage Arguments Details

View source: R/csv.R

Description

Resolved some iEEG format import situation when the header could be missing.

Usage

1

Arguments

file

csv 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 csv 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.


dipterix/raveutils documentation built on July 6, 2020, 12:24 a.m.