Description Usage Arguments Value Note Author(s) Examples
Replace NA
s in the spectra matrix by interpolation. With
less than 4 points available linear interpolation of the 2 neighbour points is used. For larger numbers of
neighbour points, smoothing interpolation is performed by
smooth.spline
.
1 2 3 4 5 6 7 8 9 10 | spc.NA.approx(
spc,
neighbours = 1,
w = rep(1, 2 * neighbours),
df = 1 + .Machine$double.eps,
spar = NULL,
debuglevel = hy.getOption("debuglevel")
)
spc.NA.linapprox(...)
|
spc |
hyperSpec object with spectra matrix containing |
neighbours |
how many neighbour data points should be used to fit the line |
w, df, spar |
see |
debuglevel |
see |
... |
ignored |
hyperSpec object
The function has been renamed from spc.NA.linapprox
to spc.NA.approx
Claudia Beleites
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.