powered by
A method specialization that returns the wavelength maximum [\(nm\)] from objects of classes waveband or of class generic_spct or derived.
waveband
generic_spct
wl_max(x, na.rm = FALSE)# S3 method for waveband max(..., na.rm = FALSE)# S3 method for generic_spct max(..., na.rm = FALSE)# S3 method for generic_mspct max(..., na.rm = FALSE, idx = "spct.idx")
# S3 method for waveband max(..., na.rm = FALSE)
# S3 method for generic_spct max(..., na.rm = FALSE)
# S3 method for generic_mspct max(..., na.rm = FALSE, idx = "spct.idx")
a length-one vector for individual objects or numeric vectors or a data frame for collections of spectra.
generic_spct, generic_mspct or waveband object.
ignored
numeric, waveband or generic_spct arguments.
character Name of the column with the names of the members of the collection of spectra.
max(generic_spct):
max(generic_spct)
max(generic_mspct):
max(generic_mspct)
max(sun.spct) wl_max(sun.spct)
Run the code above in your browser using DataLab