Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

range

Wavelength range


Description

A method specialization that returns the wavelength range from objects of classes "waveband" or of class "generic_spct" or derived.

Usage

wl_range(x, na.rm = FALSE)

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

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

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

Arguments

x

generic_spct, generic_mspct or waveband object.

na.rm

ignored

...

a single R object

idx

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

Methods (by class)

  • generic_spct:

  • generic_mspct:

See Also

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

Examples

range(sun.spct)
wl_range(sun.spct)

range(sun.spct)

photobiology

Photobiological Calculations

v0.10.10
GPL (>= 2)
Authors
Pedro J. Aphalo [aut, cre] (<https://orcid.org/0000-0003-3385-972X>), Titta K. Kotilainen [ctb] (<https://orcid.org/0000-0002-2822-9734>), Glenn Davis [ctb], Agnese Fazio [ctb]
Initial release
2022-03-24

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.