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.
weight(iso, weight) # S4 method for ANY,ANY weight(iso, weight) # S4 method for Isoval,numeric weight(iso, weight)
| 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] 10