Skip to contents

Reads 'Agilent Chemstation' .csv files.

Usage

read_chemstation_csv(
  path,
  format_out = c("matrix", "data.frame", "data.table")
)

Arguments

path

Path to 'Agilent' .csv file.

format_out

Class of output. Either matrix, data.frame, or data.table.

Value

A chromatogram in the format specified by format_out (retention time x wavelength).

Details

'Agilent Chemstation' CSV files are encoded in UTF-16.

Author

Ethan Bass

Examples

if (FALSE) { # interactive()
read_chemstation_csv("tests/testthat/testdata/dad1.csv")
}