wl_min {photobiology}R Documentation

Wavelength minimum

Description

A method specialization that returns the wavelength minimum [nm] from objects of classes waveband or of class generic_spct or derived.

Usage

wl_min(x, na.rm = FALSE)

## S3 method for class 'waveband'
min(..., na.rm = FALSE)

## S3 method for class 'generic_spct'
min(..., na.rm = FALSE)

## S3 method for class 'generic_mspct'
min(..., na.rm = FALSE, idx = "spct.idx")

Arguments

x

generic_spct, generic_mspct or waveband object.

na.rm

ignored

...

not used in current version

idx

character Name of the column with the names of the members of the collection of spectra.

Value

a length-one vector for individual objects or numeric vectors or a data frame for collections of spectra.

Methods (by class)

See Also

Other wavelength summaries: wl_midpoint(), wl_range(), wl_stepsize()

Examples

min(sun.spct)
wl_min(sun.spct)


[Package photobiology version 0.11.2 Index]