to_delta converts another isotopic data type to a delta value. The to_d function is a shorthand for to_delta but otherwise identical.

to_delta(iso, ref_ratio)

to_d(iso, ref_ratio)

# S4 method for ANY,ANY
to_delta(iso, ref_ratio)

# S4 method for Isosys,missing
to_delta(iso, ref_ratio)

# S4 method for Delta,missing
to_delta(iso, ref_ratio)

# S4 method for FractionationFactor,missing
to_delta(iso, ref_ratio)

# S4 method for FractionationFactor,numeric
to_delta(iso, ref_ratio)

# S4 method for FractionationFactor,Ratio
to_delta(iso, ref_ratio)

# S4 method for Ratio,missing
to_delta(iso, ref_ratio)

# S4 method for Ratio,numeric
to_delta(iso, ref_ratio)

# S4 method for Ratio,Ratio
to_delta(iso, ref_ratio)

# S4 method for Ratios,Ratios
to_delta(iso, ref_ratio)

# S4 method for Abundance,ANY
to_delta(iso, ref_ratio)

Arguments

iso

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

ref_ratio

the refernce ratio associated with the delta value. This is optional but required if planning later conversions back to ratios or abundane values. Can be supplied as a raw numeric numer or a Ratio object (in the case of the latter, the compound name of the Ratio object will be registered as the name of the reference).

Value

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

See also

Other data type conversions: to_abundance, to_ff, to_ratio