smooth_spline {spectrolab} | R Documentation |
Smooth spline functions for spectra
Description
Gets spline functions for each spectrum in a spectra object.
Usage
smooth_spline(x, parallel = TRUE, return_fn = FALSE, ...)
Arguments
x |
spectra object. bands must be strictly increasing |
parallel |
boolean. Do computation in parallel? Defaults to TRUE. Unfortunately, the parallelization does not work on Windows. |
return_fn |
Boolean. If TRUE, |
... |
additional parameters passed to smooth.spline except nknots, which is computed internally |
Value
Smoothed spectra or, if return_fn = TRUE, a list of spline functions.
Author(s)
Jose Eduardo Meireles
[Package spectrolab version 0.0.19 Index]