Skip to contents

standardizeFormula standardizes a supplied chemical formula according to the Hill notation system.

Usage

standardizeFormula(x)

Arguments

x

character, strings with the chemical formula to standardize.

Value

character strings with the standardized chemical formula.

Author

Michael Witting and Sebastian Gibb

Examples


standardizeFormula("C6O6H12")
#>   C6O6H12 
#> "C6H12O6"