photobiology (version 0.9.30)

using_Tfr: Use photobiology options

Description

Execute an R expression, possibly compound, using a certain setting for spectral data related options.

Usage

using_Tfr(expr)

using_Afr(expr)

using_A(expr)

using_energy(expr)

using_photon(expr)

using_quantum(expr)

Arguments

expr

an R expression to execute.

Value

The value returned by the execution of expression.

References

Based on withOptions() as offered by Thomas Lumley, and listed inhttp://www.burns-stat.com/the-options-mechanism-in-r/, section Deep End, of "The Options mechanism in R" by Patrick Burns.