max: Wavelength maximum

Description Usage Arguments Methods (by class) Examples

Description

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

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
wl_max(x, na.rm = FALSE)

## 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

x

generic_spct, generic_mspct or waveband object.

na.rm

ignored

...

not used in current version

idx

logical whether to add a column with the names of the elements of spct

Methods (by class)

Examples

1
2

photobiology documentation built on April 3, 2018, 1:06 a.m.