Learn R Programming

photobiology (version 0.11.3)

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)

Value

The value returned by the execution of expression.

Arguments

expr

an R expression to execute.

References

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