photobiology (version 0.9.30)

T2T: Convert transmittance type.

Description

Function that allows conversion between internal and total transmittance.

Usage

T2T(x, y, byref, Tfr.type.out, ...)

# S3 method for default T2T(x, y, byref = NULL, Tfr.type.out = NULL, ...)

# S3 method for filter_spct T2T(x, y, byref = FALSE, Tfr.type.out = "total", ...)

# S3 method for object_spct T2T(x, y = NULL, byref = FALSE, Tfr.type.out = "total", ...)

# S3 method for filter_mspct T2T( x, y, byref = FALSE, Tfr.type.out = "total", ..., .parallel = FALSE, .paropts = NULL )

# S3 method for object_mspct T2T( x, y, byref = FALSE, Tfr.type.out = "total", ..., .parallel = FALSE, .paropts = NULL )

Arguments

x, y

R objects

byref

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

Tfr.type.out

character One of "total" or "internal"

...

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)

  • default: Default method

  • filter_spct: Method for filter spectra

  • object_spct: Method for object spectra

  • filter_mspct: Method for collections of filter spectra

  • object_mspct: Method for collections of object spectra

See Also

Other quantity conversion functions: A2T(), T2Afr(), T2A(), as_quantum(), e2qmol_multipliers(), e2quantum_multipliers(), e2q(), q2e()