Description Usage Arguments Examples
For use on plots using parse = TRUE
1 2 3 4 5 6 7 8 9 10 | chem_expression(x, ...)
## Default S3 method:
chem_expression(x, ...)
## S3 method for class 'reaction'
chem_expression(x, equals_sign = NULL, ...)
## S3 method for class 'reaction_list'
chem_expression(x, ...)
|
x |
A mol, reaction, or reaction list object |
... |
Passed to as.character() |
equals_sign |
An equals sign to use for a reaction object |
1 2 3 | chem_expression(as_reaction("2H+ + 2OH- = 2H2O"))
chem_expression(as_reaction_list("2H+ + 2OH- = 2H2O"))
chem_expression(as_mol(c("SO4-2", "Ca+2")))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.