getMolecularFormula: Return a molecular formula

Description Usage Arguments Value

View source: R/chemFunctions.R

Description

Return a standardized molecular formula

Usage

1
getMolecularFormula(form = "", output = "table", order = "hill")

Arguments

form

Input formula

output

output type - either table (columns = Element and Count) or formula (string)

order

atom ordering - either alpha or hill notation

Value

a tibble or string corresponding to the molecular formula


harveyl888/chem documentation built on April 16, 2020, 8:47 p.m.