is_mole_based {photobiology} | R Documentation |
Query if a spectrum contains mole or mass based data
Description
Functions to check if an solute attenuation spectrum contains coefficients on expressed on mole of mass base.
Usage
is_mole_based(x)
is_mass_based(x)
Arguments
x |
an R object |
Value
is_mole_based
returns TRUE if its argument is a
solute_spct
object that contains spectral K.mole
data and
FALSE
if it contains K.mass
data, but returns NA for any
other R object, including those belonging other generic_spct
-derived
classes. is_mass_based
returns the complement of
is_mole_based
.
See Also
Other query units functions:
is_absorbance_based()
,
is_photon_based()
Examples
print("missing example")
[Package photobiology version 0.11.2 Index]