using_Tfr: Use photobiology options

View source: R/spct.operators.r

using_TfrR Documentation

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 in https://www.burns-stat.com/the-options-mechanism-in-r/, section Deep End, of "The Options mechanism in R" by Patrick Burns.


photobiology documentation built on Oct. 21, 2023, 1:06 a.m.