Functions that convert or add related physical quantities to
filter_spct or object_spct objects. transmittance (fraction)
into absorptance (fraction).
Usage
any2T(x, action = "add", clean = FALSE)
any2A(x, action = "add", clean = FALSE)
any2Afr(x, action = "add", clean = FALSE)
Value
A copy of x with the columns for the different quantities
added or replaced. If action = "replace", in all cases, the
additional columns are removed, even if no column needs to be added.
Arguments
x
an filter_spct or a filter_mspct object.
action
character Allowed values "replace" and "add".
clean
logical replace off-boundary values before conversion
Details
These functions are dispatchers for A2T,
Afr2T, T2A, and T2Afr. The
dispatch is based on the names of the variables stored in x. They
do not support in-place modification of x.