Rdocumentation
powered by
Learn R Programming
hyperSpec (version 0.98-20150304)
spc.NA.linapprox: Impute missing data points
Description
Replace
NA
s in the spectra matrix by linear interpolation.
Usage
spc.NA.linapprox(spc, neighbours = 1, ...)
Arguments
spc
hyperSpec object with spectra matrix containing
NA
s
neighbours
how many neighbour data points should be used to fit the line
...
ignored
Value
hyperSpec object