geomaterials_contain_all_but_not_elems {OpenMindat} | R Documentation |
geomaterials that contain all of some given elements but without any of some other given elements.
Description
Queries the list of geomaterials that contain all the given elements listed in icl_elm_vector, but do not contain the given elements listed in ecl_elms_vector.
Usage
geomaterials_contain_all_but_not_elems(icl_elm_vector, ecl_elms_vector, ...)
Arguments
icl_elm_vector |
vector of elements. |
ecl_elms_vector |
vector of elements. |
... |
Further named parameters.Other optional arguments-Additional arguments. |
Details
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_elm_vector), but not contain the other list of elements (ecl_elms_vector). It performs the query operation by calling the mindat_geomaterial_list function.
Value
df, a data frame of geomaterials.
Examples
## Not run:
df<-geomaterials_contain_all_but_not_elems (c('Fe','S'), c('O')) +
geomaterials_contain_all_but_not_elems(fields ="id,name,mindat_formula,elements")
## End(Not run)
[Package OpenMindat version 1.0.0 Index]