readSPC {spectralAnalysis} | R Documentation |
Read-in of a SPC file.
Description
This function is an adaptation of the 'read.spc' function of the 'hyperSpec' package : Claudia Beleites and Valter Sergo: 'hyperSpec: a package to handle hyperspectral data sets in R, R package version 0.98-20161118. http://hyperspec.r-forge.r-project.org.
Usage
readSPC(filename, keys.log2data = TRUE, keys.hdr2data = FALSE)
Arguments
filename |
Character vector expressing the name of the SPC file (just the name, not the directory). |
keys.log2data |
Logical vector indicating whether the full information (consisting of additional information on the experimental conditions) needs to be parsed from the SPC file or not (TRUE indicates that the full information should be parsed from the SPC file). The default value is FALSE. |
keys.hdr2data |
a character vector of header object to add to backgroundInformation |
Value
[Package spectralAnalysis version 4.3.3 Index]