Learn R Programming

hyperSpec (version 0.98-20110927)

spc.NA.linapprox: Impute missing data points...

Description

Impute missing data points

Usage

spc.NA.linapprox(spc, neighbours=1, ..., short="spc.NA.linapprox", user=NULL, date=NULL)

Arguments

spc
hyperSpec object with spectra matrix containing NAs
neighbours
how many neighbour data points should be used to fit the line
...
ignored
short,user,date
handed to logentry

Value

  • hyperSpec object

Details

Replace NAs in the spectra matrix by linear interpolation.