bc_spline {spant}R Documentation

Fit and subtract a smoothing spline to each spectrum in a dataset.

Description

Fit and subtract a smoothing spline to each spectrum in a dataset.

Usage

bc_spline(mrs_data, spar = 0.5, nknots = 100)

Arguments

mrs_data

mrs_data object.

spar

smoothing parameter typically between 0 and 1.

nknots

number of spline knots.

Value

smoothing spline subtracted data.


[Package spant version 2.22.0 Index]