This allows specifying and retrieving default values for newly created isotopia objects.
set_iso_opts(default_ab_notation = c("raw", "percent"), default_ff_notation = c("alpha", "eps", "permil", "ppm"), default_delta_notation = c("raw", "permil", "ppm"), default_intensity_unit = "", default_major = "", default_minor = "", exact_mass_balance = FALSE, standards = c()) get_iso_opts(opts)
default_ab_notation | default notation of abundance objects,
see |
---|---|
default_ff_notation | default notation of fractionation factors |
default_delta_notation | default notation of delta values |
default_intensity_unit | default unit for intensity values |
default_major | default major isotope on all isotope objects |
exact_mass_balance | NOT IMPLEMENTED YET!
If enabled, mass balance calculations with delta values (i.e. If disabled, mass balance calculations with delta values ( see |
standards | isotope ratio objects to register as standards |
default | minor default minor isotope on all isotope objects |
get_iso_opts
allows retrieval of all or individual isotopia options.
Returns a single value if only one option is requested, a named list if multiple
Default options are the following and are set during package loading together
with the default standards
set_iso_opts(
default_ab_notation = "raw",
default_ff_notation = "alpha",
default_delta_notation = "permil",
default_intensity_unit = "",
default_major = "",
default_minor = "",
exact_mass_balance = FALSE
)
Other options: register_standard