Skip to contents

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")
#> [1] "missing example"