Learn R Programming

spectrolab (version 0.0.12)

smooth_spline: Smooth spline functions for spectra

Description

Gets spline functions for each spectrum in a spectra object.

Usage

smooth_spline(x, parallel = TRUE, ...)

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.

...

additional parameters passed to smooth.spline except nknots, which is computed internally

Value

a list of spline functions