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

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.

Examples

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