Generate an isotope delta value object. See isotopia for general information on initializing
and converting isotope data objects. Delta values can be easily converted from values in one notation to values in
another notation by using switch_notation
.
delta(..., major = get_iso_opts("default_major"), compound = "", ref = "", ref_ratio = numeric(), notation = get_iso_opts("default_delta_notation"), weight = numeric(), single_as_df = FALSE)
... | - numeric vectors (can be named) to turn into delta values |
---|---|
major | - name of the major isotope in the isotope system [optional] |
compound | - name of the compound the isotopic values belong to [optional] |
ref | - name of the reference material |
ref_ratio | - value of the reference material |
notation | - which notation the value is in, |
weight | - weight the isotope value (with a mass, concentration, etc.) for easy mass balance calculations.
The default value is 1, i.e. an unweighted isotope value.
If specified, |
For mass balance calculations with delta values, simply add the appropriate weights (if different from
the default) and use delta(...) + delta(...)
.
Other isotope data types: abundance
,
fractionation_factor
,
intensity
, ratio
delta(50, notation = "permil") # enter as permil value#> An isotope value object of type 'Delta value': d [permil] #> [1] 50delta(0.05, notation = "raw") # enter as non-permil value#> An isotope value object of type 'Delta value': d #> [1] 0.05