R/mrs_data_proc.R
bc_spline.Rd
Fit and subtract a smoothing spline to each spectrum in a dataset.
bc_spline(mrs_data, spar = 0.5, nknots = 100)
mrs_data object.
smoothing parameter typically between 0 and 1.
number of spline knots.
smoothing spline subtracted data.