a.from.ion: A from Ion

View source: R/particles.R

a.from.ionR Documentation

A from Ion

Description

Returns the atomic mass number (A) of the atomic nucleus from the name of the atom/ion. The ion can be specified from its element symbol, optionally including its atomic mass number (e.g.: "C" or "12C" for carbon ion.) Note: the available range is from 1H to 20 Ne.

Usage

a.from.ion(ions, with.atomic.mass = FALSE)

Arguments

ions

A character vector containing the ion names.

with.atomic.mass

Uses ion names including the atomic mass number (default FALSE.)

Value

A numeric vector containing the atomic mass numbers.

See Also

Other Particles: Zeff, beta.c, ion.from.z, remove.atomic.mass, rest.energy, z.from.ion


planit-group/Rplanit documentation built on Dec. 5, 2022, 11:10 p.m.