R/read-asd.R
read_asd.Rd
Read tab delimited text (.txt) files exported from ASD field spectrometer into simplerspec spectra tibble. ASD Fieldspec data files are expected in .txt tab delimited file format. The first row should contain the name 'Wavelength' for the first column and the file names for the remaining columns.
read_asd(file)
Spectra data in tibble data frame (class tbl_df
) that contains
columns sample_id
(derived from 2nd and following column names of
tab delimited ASD exported text file),
spc
(list-column of spectral matrices)
and wavelengths
(list-column containing wavelength vectors).