# NOT RUN {
## Example of shift correction with linear interpolation and
## shifts calculated based on a reference band of the spectra
data(cassavaPPD)
dataset.corrected = shift_correction(cassavaPPD, method = "interpolation",
shift.val = "auto", interp.function = "linear",
ref.limits = c(800,850))
# }
Run the code above in your browser using DataLab