This function imports .nir files generated by BUCHI NIRCal software.
read_nircal(file, responsevar = TRUE, spectra = TRUE,
metadata = TRUE, progress = TRUE, verbose = TRUE)
the name of the NIRCal (.nir) file which the data are to be read from.
a logical indicating if the data of the response variables must be returned (default is TRUE
).
a logical indicating if the spectral data must be returned (default is TRUE
).
a logical indicating if the metadada must be returned (default is TRUE
).
a logical indicating if a progress bar must be printed (default is TRUE
).
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 TRUE
).
a data.frame
containing the metadata, response variables (if responsevar = TRUE
) and spectra (if spectra = TRUE
, embedded in the data.frame
as a matrix
named ...$spc
).
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: https://www.buchi.com/gb-en/products/nirsolutions/nircal