Description Usage Arguments Value Examples
Create, validate molecule objects
1 | new_molecule_single(x, charge = 0, count = NA_real_)
|
x |
A double vector or molecule object |
charge |
An optional charge to assign to the molecule |
count |
An optional count to assign to the molecule |
An double vector with class "molecule_single"
1 2 3 | m <- new_molecule_single(list(H=2, O=1), charge = 0)
validate_molecule_single(m)
is_molecule_single(m)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.