Description Usage Arguments Value Author(s) Examples
View source: R/read-spectrawiz.R
read_spectrawiz()
takes a single .TRM, .IRR, .ABS, and
.SSM file or a vector of file paths as input and outputs a data.frame
containing the spectra and the file paths of the input files.
1 |
file |
a filepath to a SpectraWiz file |
a data.frame
of filenames and spectra associated with the
input files in file
Alexander Koc
1 2 3 4 5 6 7 8 | # Get the path to the demo file
path_to_spectrawiz_file <- trm_file()
spectral_data <- read_spectrawiz(path_to_spectrawiz_file)
# Print the five first columns:
print(spectral_data[1,1:5])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.