filter_geochem | R Documentation |
A function to subset KSSL "geochem" / elemental analysis result table to obtain rows/columns based on: column name, preparation code, major / trace element method.
filter_geochem(
geochem,
columns = NULL,
prep_code = NULL,
major_element_method = NULL,
trace_element_method = NULL
)
geochem |
geochemical data, as returned by fetchKSSL |
columns |
Column name(s) to include in result |
prep_code |
Character vector of prep code(s) to include in result. |
major_element_method |
Character vector of major element method(s) to include in result. |
trace_element_method |
Character vector of trace element method(s) to include in result. |
A data.frame, subset according to the constraints specified in arguments.
Andrew G. Brown.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.