element: Element properties

Description Usage Arguments Value Examples

Description

Based on the periodic tibble (see pt).

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
is_element(x)

elsymbol(z)

elmass(x)

elz(x)

elname(x, locale = "en_UK")

elgroup(x)

elperiod(x)

elvalence(x)

Arguments

x

An element symbol (e.g. H, He)

z

The atomic number Z

locale

Currently not supported, but will eventually return "Al" as "Aluminum" for unsavory Americans.

Value

A named vector of the relevant value(s)

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
is_element("H")
is_element("Hg")
is_element("H2O")

elsymbol(1)

elmass("H")
elmass("O")

elz("Pb")
elname("Al")
elgroup("Al")
elperiod("Al")
elvalence("Al")

paleolimbot/chemr documentation built on Sept. 11, 2021, 2:02 p.m.