getSymbol: getSymbol

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/accessConst.R

Description

Extracts the atomic symbol or atomic mass number from a string in the from of e.g "Pb206".

Usage

1
2
getSymbol(isotope)
getMassNumber(isotope)

Arguments

isotope

A string of the form "S[S]A[AA]", where S is the atomic symbol, A is the atomic mass number.

Details

These are utility functions used in the wrappers (see standardAtomicWeight()).

Value

The atomic symbol (as a character string) or the atomic mass number (as an integer).

Author(s)

Martin Rittner (kmr@thegeologician.net)

See Also

standardAtomicWeight

Examples

1
2
  getSymbol("Pb206")
  getMassNumber("Pb206")

GeoConst documentation built on May 2, 2019, 5:57 p.m.

Related to getSymbol in GeoConst...