spc.NA.linapprox: Impute missing data points...
Description
Impute missing data pointsUsage
spc.NA.linapprox(spc, neighbours=1, ..., short="spc.NA.linapprox", user=NULL, date=NULL)
Arguments
spc
hyperSpec object with spectra matrix containing NA
s
neighbours
how many neighbour data points should be used to fit the line
Details
Replace NA
s in the spectra matrix by linear interpolation.