Skip to contents

This function returns the red:far-red photon ratio of a light source spectrum.

Usage

R_FR(spct, std = "Smith10", use.cached.mult = FALSE, use.hinges = TRUE)

Arguments

spct

an object of class "source.spct"

std

select which definition of red and far-red should be used, defaults to "Smith"

use.cached.mult

logical indicating whether multiplier values should be cached between calls

use.hinges

logical indicating whether to use hinges to reduce interpolation errors

Value

a single numeric nondimensional value giving the R:FR photon ratio, with name attribute set to the name of the wavebands, with "(q:q)" appended.

See also

link[photobiologyWavebands]{Red}, link[photobiologyWavebands]{Far_red}.

Examples

R_FR(sun.spct)
#> R:FR[q:q] 
#>  1.266704 
#> attr(,"radiation.unit")
#> [1] "q:q ratio"