T2Afr {photobiology}R Documentation

Convert transmittance into absorptance.

Description

Function that converts transmittance (fraction) into absorptance (fraction). If reflectance (fraction) is available, it allows conversions between internal and total absorptance.

Usage

T2Afr(x, action, byref, clean, ...)

## Default S3 method:
T2Afr(x, action = NULL, byref = FALSE, clean = FALSE,
  ...)

## S3 method for class 'filter_spct'
T2Afr(x, action = "add", byref = FALSE,
  clean = FALSE, ...)

## S3 method for class 'object_spct'
T2Afr(x, action = "add", byref = FALSE,
  clean = FALSE, ...)

## S3 method for class 'filter_mspct'
T2Afr(x, action = "add", byref = FALSE,
  clean = FALSE, ..., .parallel = FALSE, .paropts = NULL)

## S3 method for class 'object_mspct'
T2Afr(x, action = "add", byref = FALSE,
  clean = FALSE, ..., .parallel = FALSE, .paropts = NULL)

Arguments

x

an R object

action

character Allowed values "replace" and "add"

byref

logical indicating if new object will be created by reference or by copy of x

clean

logical replace off-boundary values before conversion

...

not used in current version

.parallel

if TRUE, apply function in parallel, using parallel backend provided by foreach

.paropts

a list of additional options passed into the foreach function when parallel computation is enabled. This is important if (for example) your code relies on external data or packages: use the .export and .packages arguments to supply them so that all cluster nodes have the correct environment set up for computing.

Methods (by class)

See Also

Other quantity conversion functions: A2T, T2A, T2T, as_quantum, e2qmol_multipliers, e2quantum_multipliers, e2q, q2e

Examples

T2Afr(Ler_leaf.spct)


[Package photobiology version 0.9.21 Index]