Description Usage Arguments Value Examples
Format chemical formulas
remove white spaces at begin & end
check validity of formula:
isotope designation: number between []
element: an upper letter followed sometimes by a lower letter
number(s)
1 | format_formula(formulas)
|
formulas |
vector of characters of chemical formulas |
vector of characters (chemical formulas), filled with NA value where the formula were not valid
1 | ## Not run: format_formula(c("C12H18Br6", "C12[2]H18Br6"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.