powered by
savitzky_golay(dataset, p.order, window, deriv = 0)
## Example of smoothing the spectra from dataset with Savitzky-Golay data(cassavaPPD) dataset.smoothed = savitzky_golay(cassavaPPD, p.order = 3, window = 11, deriv = 0)
Run the code above in your browser using DataLab