Description Usage Arguments Note See Also Examples
weight(iso, weight)
adds a weight (can be thought of as mass or concentration) to an isotopic value
which will be used to weigh the isotope value when adding together multiple isotope values.
get_weight(iso)
returns the weight of an isotope value object.
1 2 3 4 5 6 7 |
iso |
- object to get weight or add weight |
weight |
- vector of weight values, has to be a single value or the same length as the data stored in the isotope value object. |
This can also be achieved when first initializing (or updating) an object
via calls to ratio
, abundance
, delta
, etc.
Other data type attributes: get_name
,
get_value
,
get_weighted_value
,
get_weight
, set_attrib
,
switch_notation
1 2 3 | r <- ratio(0.2)
r <- weight(r, 10)
print(get_weight(r)) # returns 10
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.