Molecular weights {GCDkit}R Documentation

Calculating molecularWeights of oxides

Description

These functions plot multiple binary plots with a common x axis, such as Harker plots.

Usage

molecularWeight(formula) 

Arguments

formula

a character vector of length 1, a formula of the oxide.

Details

So far only simple oxide formulae in form of AxOy (where x, y are optional indexes) can be handled. The atomic weights are stored in a file MW.data.

Value

A list with items:

MW

molecularWeight

x.atoms

number of atoms in the formula

x.oxygen

number of oxygens

Author(s)

Vojtech Janousek, vojtech.janousek@geology.cz

Examples

molecularWeight("SiO2")

molecularWeight("SiO2")[[1]]

oxides<-c("SiO2","TiO2","Al2O3","Fe2O3","FeO")
sapply(oxides,molecularWeight)

[Package GCDkit version 3.00 Index]