spc.NA.linapprox: Impute missing data points

Description

Replace NAs in the spectra matrix by linear interpolation.

Usage

1
spc.NA.linapprox(spc, neighbours = 1, ...)

Arguments

spc

hyperSpec object with spectra matrix containing NAs

neighbours

how many neighbour data points should be used to fit the line

...

ignored

Value

hyperSpec object

Author(s)

Claudia Beleites


Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.