read_nircal | R Documentation |
This function imports .nir files generated by BUCHI NIRCal software.
read_nircal(file, response = TRUE, spectra = TRUE,
metadata = TRUE, progress = TRUE, verbose = TRUE)
file |
the name of the NIRCal (.nir) file which the data are to be read from. For URLs a temporary file is first downloaded and is then read. |
response |
a logical indicating if the data of the response variables
must be returned (default is |
spectra |
a logical indicating if the spectral data must be returned
(default is |
metadata |
a logical indicating if the metadada must be returned
(default is |
progress |
a logical indicating if a progress bar must be printed
(default is |
verbose |
a logical indicating if the number of spectra and response
variables (an also the ID's of the spectra without gain and/or temperature
information) must be printed (default is |
The extension of the BUCHI NIRCal files is .nir. These files are used to store spectra generated by BUCHI N-500 and BUCHI NIRMaster FT-NIR sensors. See NIRCal technical data sheet.
a data.frame containing the metadata, response variables (if
response = TRUE
) and spectra (if spectra = TRUE
, embedded in the
data.frame
as a matrix named ...$spc
).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.