Description Usage Arguments Details Value Examples

For Cartesian coordinates of atoms A-B-C-D, calculate the dihedral angle formed by viewing down the B-C axis.

1 |

`a` |
length 3 vector of coordinates of atom A |

`b` |
length 3 vector of coordinates of atom B |

`c` |
length 3 vector of coordinates of atom C |

`d` |
length 3 vector of coordinates of atom D |

Similar to torsion.xyz, but with implementation in C++.

Returns the dihedral angle (in degrees between -180 and 180).

1 2 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.