View source: R/ir_import_csv.R
ir_import_csv | R Documentation |
ir_import_csv
imports raw infrared spectra from one or more .csv
file
that contains at least one spectrum, with x axis values (e.g. wavenumbers) in
the first column and intensity values of spectra in remaining columns. Note
that the function does not perform any checks for the validity of the content
read from the .csv file.
ir_import_csv(filenames, sample_id = "from_filenames", ...)
filenames |
A character vector representing the complete paths to
the |
sample_id |
Either:
|
... |
Further arguments passed to
|
An object of class ir
containing the
infrared spectra extracted from the .csv
file(s).
# import data from csv files d <- ir::ir_import_csv( system.file(package = "ir", "extdata/klh_hodgkins_mir.csv"), sample_id = "from_colnames")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.