to_ratio converts another isotopic data type to a ratio. The to_r function is a shorthand for to_ratio but otherwise identical.

to_ratio(iso)

to_r(iso)

# S4 method for ANY
to_ratio(iso)

# S4 method for Ratio
to_ratio(iso)

# S4 method for Ratios
to_ratio(iso)

Arguments

iso

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

Value

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

See also

Other data type conversions: to_abundance, to_delta, to_ff