Apply mean filter to data frame with spectra as rows and bands as columns. Filter size is passed as number of bands averaged at both sites of the respective band value.
Usage
meanfilter(spectra, p = 5)
Arguments
spectra
Data frame containing spectra
p
Filter size.
Value
Filtered data frame of same dimension as input data frame