| WhittakerSmooth | R Documentation | 
penalized least squares algorithm for background fitting
WhittakerSmooth(x,w,lambda) 
| x | raman spectrum | 
| w | binary masks (value of the mask is zero if a point belongs to peaks and one otherwise) | 
| 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 | 
the fitted vector
Yizeng Liang ,Zhang Zhimin
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.