to_abundance converts another isotopic data type to an abundance. The to_ab function is a shorthand for to_abundance but otherwise identical.

to_abundance(iso)

to_ab(iso)

# S4 method for ANY
to_abundance(iso)

# S4 method for Abundance
to_abundance(iso)

# S4 method for Abundances
to_abundance(iso)

# S4 method for Ratio
to_abundance(iso)

# S4 method for Ratios
to_abundance(iso)

# S4 method for Intensities
to_abundance(iso)

# S4 method for Delta
to_abundance(iso)

Arguments

iso

isotopic data object (ratio, abundance, delta, etc.)

Value

isotope abundance object if iso can be converted to a abundance, an error otherwise

See also

Other data type conversions: to_delta, to_ff, to_ratio