binning.RdCompute average values of a signal in pre-determined bins (col-wise subsets). The bin size can be determined either directly or by specifying the number of bins. Sometimes called boxcar transformation in signal processing
binning(X, bins, bin.size)
# S3 method for default
binning(X, ...)
# S3 method for hyperSpec
binning(X, ...)a numeric matrix or vector to process (optionally a data frame that can be coerced to a numerical matrix).
the number of bins.
the desired size of the bins.
A matrix, vector or hyperSpec object with
the filtered signal(s).
Method binning.default is the function binning
from package prospectr.
Method binning.default is the function binning
from package prospectr.
Find examples in binning.
Other methods for hyperSpec in spHelper:
gapDer()
Other prospectr function for hyperSpec:
gapDer()
Other spHelper functions for spectroscopy and hyperSpec:
IQR_outliers(),
file,
gapDer(),
hy2mat(),
hyAdd_Label_wl(),
hyAdd_Labels_PAP_PD_2014(),
hyAdd_Labels_TD2009(),
hyAdd(),
hyDrop_NA(),
hyGet_palette(),
hyRm_palette(),
mad_outliers(),
mean_Nsd(),
median_Nmad(),
plot_hyPalette(),
prepare_PAP_RK_2014__MATLAB_failui(),
read.OOIBase32(),
read.OceanView.header(),
read.OceanView(),
read.sp.csv2(),
read3csv2hy(),
replace_spc(),
sd_outliers(),
spStat(),
sp_class_perform()