View source: R/mindat_geomaterials.R
geomaterials_contain_all_but_not_elems | R Documentation |
Queries the list of geomaterials that contain all the given elements listed in icl_elms, but do not contain the given elements listed in ecl_elms
geomaterials_contain_all_but_not_elems(icl_elms, ecl_elms, ...)
icl_elms |
vector of elements. |
ecl_elms |
vector of elements. |
... |
Further named parameters.Other optional arguments-Additional arguments. |
This function releated to the field "elements_inc" and "elements_exc" of geomaterials. This function queries the list of geological materials that contain an given list of elements (icl_elms), but not contain the other list of elements (ecl_elms). It performs the query operation by calling the mindat_geomaterial_list function.
df, a data frame of geomaterials.
## Not run:
geomaterials_contain_all_but_not_elems(c('Fe','S'), c('O'),fields ="id,name")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.