powered by
spoffs(spectra)
data(spData) # Convert data frame to matrix spectra <- as.matrix(t(spData)) # Offset correction offs <- spoffs(spectra=spectra)
Run the code above in your browser using DataLab