gatherCsv: Combine csv Files Containing Spectral Data into a Data Frame

Description Usage Details Value Author(s) See Also

View source: R/gatherCsv.R


This function processes csv files containing two columns, wavelength and absorbance (or intensity etc), into a data frame, which is then written out as a csv file. The files should have no header row.




It is assumed that the csv files have already been cleaned up so that they contain only wavelength and absorbance data. The wavelength data column must be the same in all the files (as they would be if they came from the same instrument with the same settings).


A data frame containing the wavelengths in the first column and the absorbances in the other columns, one per file, with the file name generating the column name. The data frame is written out in a file called "All Spec Files.csv".


Bryan A. Hanson, DePauw University

See Also

gatherSpecFiles which is the function the user should call.

SpecHelpers documentation built on May 2, 2019, 11:01 a.m.