Description Usage Arguments Value
View source: R/get_CHNOS_element_class.R
This function groups assigned formulas into element classes (e.g., CHO or CHNOS) without regard to specific element numbers. It is intended to be used for grouping in plotting, and has been written for the default element list (CHNOS). The element classes are ordered by decreasing relative abundances, so that the most abundant element class appears first.
1 |
data |
a tibble containing a table of the assigned elements with a column name for each element (e.g., "C", "H", "N", "O" and "S") and a column named "rel_abund" containing the assigned formulas' relative abundances |
data with a new column containing the element classes as ordered factors
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.