A method specialization that returns the wavelength range from objects of classes "waveband" or of class "generic_spct" or derived.
wl_range(x, na.rm = FALSE)# S3 method for waveband
range(..., na.rm = FALSE)
# S3 method for generic_spct
range(..., na.rm = FALSE)
# S3 method for generic_mspct
range(..., na.rm = FALSE, idx = "spct.idx")
generic_spct, generic_mspct or waveband object.
ignored
a single R object
character Name of the column with the names of the members of the collection of spectra.
generic_spct
:
generic_mspct
:
Other wavelength summaries:
wl_midpoint()
,
wl_min()
,
wl_stepsize()
# NOT RUN {
range(sun.spct)
wl_range(sun.spct)
range(sun.spct)
# }
Run the code above in your browser using DataLab