gapDer | R Documentation |
Gap-Segment derivatives of a data matrix
, data.frame
,
vector
or hyperSpec
object.
gapDer(X, m = 1, w = 1, s = 1, delta.wav)
## Default S3 method:
gapDer(X, m = 1, w = 1, s = 1, ...)
## S3 method for class 'hyperSpec'
gapDer(X, m = 1, w = 1, s = 1, ...)
X |
a numeric matrix or vector' to transform (optionally a data frame that can be coerced to a numerical matrix). |
m |
an integer indicating the order of the derivative, larger than 1 (default is 1). Note that this function allows for high order derivatives (e.g. m = 6). |
w |
an integer indicating the gap size (must be odd and >=1), i.e. the spacing between points over which the derivative is computed. |
s |
an integer indicating the segment size (must be odd and >=1), i.e. the range over which the points are averaged (default = 1, i.e. no smoothing corresponding to Norris-Gap Derivative). |
delta.wav |
the sampling interval (or band spacing). |
Method gapDer.default
is the function gapDer
from package prospectr.
Method gapDer.default
is the function gapDer
from package prospectr.
The sampling interval specified with the delta.wav
argument is used
for scaling and get numerically correct derivatives.
The convolution function is written in C++/Rcpp for faster computations.
A matrix
, vector
or hyperSpec
object with
the filtered signal(s).
Find examples in gapDer
.
Antoine Stevens (function prospectr::gapDer
)
Vilmantas Gegzna (method gapDer.hyperSpec
)
Hopkins (2002). NIR News 14(5), 10.
gapDer
Other methods for hyperSpec
in spHelper:
binning()
Other prospectr function for hyperSpec:
binning()
Other spHelper functions for spectroscopy and hyperSpec:
IQR_outliers()
,
binning()
,
file
,
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()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.