| any2T {photobiology} | R Documentation |
Convert filter quantities.
Description
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)
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.
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.
See Also
Other quantity conversion functions:
A2T(),
Afr2T(),
T2A(),
T2Afr(),
as_quantum(),
e2q(),
e2qmol_multipliers(),
e2quantum_multipliers(),
q2e()
Examples
any2Afr(Ler_leaf.spct)
any2T(Ler_leaf.spct)
any2T(polyester.spct)