Learn R Programming

georefdatar (version 0.6.5)

minsForChemistry: Find minerals by their chemistry

Description

Searches for minerals by their chemistry using a regular expression.

Usage

minsForChemistry(pattern, ignore.case = FALSE)

Value

data.frame of minerals where the given pattern matches.

Arguments

pattern

regular expression for the chemistry

ignore.case

switch case insensitivity on or off (default)

See Also

List of minerals, minSearch()

Examples

Run this code
minsForChemistry('Mn.*\\(SiO4\\)$')

Run the code above in your browser using DataLab