Learn R Programming

rcdk (version 3.8.1)

get.bond.order: Get an object representing bond order

Description

This function returns a Java enum representing a bond order. This can be used to modify the order of pre-existing bonds

Usage

get.bond.order(order = "single")

Value

A jObjRef representing an `Order` enum object

Arguments

order

A character vector that can be one of single, double, triple, quadruple, quintuple, sextuple or unset. Case is ignored

Author

Rajarshi Guha (rajarshi.guha@gmail.com)

Examples

Run this code
if (FALSE) {
m <- parse.smiles('CCN')[[1]]
b <- get.bonds(m)[[1]]
b$setOrder(get.bond.order("double"))
}

Run the code above in your browser using DataLab