View source: R/transform_spectra.R
smooth_spline | R Documentation |
Gets spline functions for each spectrum in a spectra object.
smooth_spline(x, parallel = TRUE, return_fn = FALSE, ...)
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 |
Smoothed spectra or, if return_fn = TRUE, a list of spline functions.
Jose Eduardo Meireles
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.