get.bond.order | R Documentation |
This function returns a Java enum representing a bond order. This can be used to modify the order of pre-existing bonds
get.bond.order(order = "single")
order |
A character vector that can be one of single, double, triple, quadruple, quintuple, sextuple or unset. Case is ignored |
A jObjRef
representing an 'Order' enum object
Rajarshi Guha (rajarshi.guha@gmail.com)
## Not run:
m <- parse.smiles('CCN')[[1]]
b <- get.bonds(m)[[1]]
b$setOrder(get.bond.order("double"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.