Isotopia provides functionality to register and retrieve isotope standards. Registered standards can be used for automatic conversions of, for example, delta values which have attributes that match a standard.
register_standard(ratio) get_standards(minor = NULL, major = NULL, name = NULL) get_standard(minor = NULL, major = NULL, name = NULL)
- character vector of minor isotope names to search for
- character vector of major isotope names to search for
- character vector of standards names to search for
list of ratio objects
register_standard() to register an isotope standard. This can be useful
for keeping track of standards you use internally and will also allow
delta to e.g.
automatically try to find the approriate standard for the conversion
from the registered values.
get_stanards to retrieve any number of registered isotope standards
that can be identified with the provided search terms. For an overview
table of all standards (rather than the actual ratio objects),
get_standard is the same as
get_standards except that it
returns a single object from the found standards and throws an error
if the search criteria did not yield exactly one.