airPLS-function: adaptive iteratively reweighted penalized least squares

airPLS-functionR Documentation

adaptive iteratively reweighted penalized least squares

Description

adaptive iteratively reweighted penalized least squares for baseline fitting

Usage

airPLS(x,lambda=10,differences=1, itermax=20)

Arguments

x

spectrum

lambda

lambda is an adjustable parameter, it can be adjusted by user. The larger lambda is, the smoother z will be

differences

an integer indicating the order of the difference of penalties

Value

the fitted vector

Author(s)

Yizeng Liang ,Zhang Zhimin

See Also

WhittakerSmooth


zmzhang/airPLS_R documentation built on Aug. 5, 2023, 8:24 a.m.