Description Usage Arguments Value See Also
Estimates the baseline of a spectrum as a linear or constant interpolation of the local minima of a spectrum.
1 2 | msSmoothApprox(x, y, method="linear", rule=2, f=0.5,
index=rep(TRUE, length(x)), process="msSmoothApprox")
|
x |
A numeric vector representing the |
y |
A numeric vector representing the intensity values of the spectrum corresponding to the
specified |
f |
A numeric scalar used when |
index |
A logical vector indicating the local minima to be used
to approximate the baseline. Default: |
method |
A character string describing the method to be used in approximating the baseline.
This must be either |
process |
A character string denoting the name of the
process to register with the (embedded) event history object of the input
after processing the input data.
Default: |
rule |
An integer (either 2 or 3) describing the rule to be used for values
that are outside the range of the minima of |
A numeric vector representing the estimated piece-wise linear baseline.
msSmoothKsmooth
, msSmoothLoess
, msSmoothMean
, msSmoothMonotone
, msSmoothSpline
, msSmoothSupsmu
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.