Calculates the average molar mass of compounds based on their chemical formulas.
Examples
mass(c("C6H12O6","C48H72CoN11O8","HCOOH"))
#> [1] 180.1560 990.1062 46.0250
Calculates the average molar mass of compounds based on their chemical formulas.
mass(c("C6H12O6","C48H72CoN11O8","HCOOH"))
#> [1] 180.1560 990.1062 46.0250