R/DEPRECATED-spc_spline.R
DEPRECATED-spc.spline.Rd
These hyperSpec functions are deprecated and not maintained anymore. Currently they are present due to back-compatibility reasons and will be removed in the next release of the package. Please, use the suggested alternative functions instead.
_____________
Spectral smoothing by splines.
spc.smooth.spline(spc, newx = wl(spc), ...)
spc |
|
---|---|
newx | wavelengh axis to interpolate on |
... | further parameters handed to |
hyperSpec
object containing smoothed spectra
This function is still experimental
Claudia Beleites
smooth <- spc.smooth.spline(p[, , c(2200 ~ 2400, 2500 ~ 2825, 3150 ~ max)], wl(paracetamol[, , 2200 ~ max]), df = 4, spar = 1 )#> Warning: Function 'spc.smooth.spline' is deprecated. #> Use function 'spc_smooth_spline' instead.#> Warning: Function 'orderwl' is deprecated. #> Use function 'wl_sort' instead.