Last chance! 50% off unlimited learning
Sale ends in
A method that returns the expanse (waveband
or of class generic_spct
or derived
(or the expanse of values in a numeric
vector).
spread(x, ...)wl_expanse(x, ...)
expanse(x, ...)
# S3 method for default
expanse(x, ...)
# S3 method for numeric
expanse(x, ...)
# S3 method for waveband
expanse(x, ...)
# S3 method for generic_spct
expanse(x, ...)
# S3 method for generic_mspct
expanse(x, ..., idx = "spct.idx")
A numeric value equal to max(x) - min(x)
. In the case of
spectral objects wavelength difference [min
and
max
.
an R object
not used in current version
character Name of the column with the names of the members of the collection of spectra.
expanse(default)
: Default method for generic function
expanse(numeric)
: Method for "numeric"
expanse(waveband)
: Method for "waveband"
expanse(generic_spct)
: Method for "generic_spct"
expanse(generic_mspct)
: Method for "generic_mspct" objects.
expanse(10:20)
expanse(sun.spct)
wl_expanse(sun.spct)
expanse(sun.spct)
Run the code above in your browser using DataLab