spectra <- getSpectraInTimeExample()
listOfSpectra <- getListOfSpectraExample()
# Dummy alignment of spectrum with itself:
ex1 <- wavelengthAlign( ref = spectra , toAlign = spectra )
# Alignment of list of spectra with a reference spectrum:
ex2 <- wavelengthAlign( ref = spectra , toAlign = listOfSpectra )
Run the code above in your browser using DataLab