Learn R Programming

photobiology (version 0.9.6)

max: Wavelength maximum

Description

A function that returns the wavelength maximum from objects of class "waveband".

Usage

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

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

## S3 method for class 'generic_mspct':
max(..., na.rm = FALSE, idx = NULL)

Arguments

...
not used in current version
na.rm
ignored
idx
logical whether to add a column with the names of the elements of spct

Methods (by class)

  • generic_spct:
  • generic_mspct:

Examples

Run this code
max(sun.spct)

Run the code above in your browser using DataLab