View source: R/utils-MuscleTernary.R
RU | R Documentation |
Calculate the rotation matrix required to rotate vector A onto vector B. Both vectors will be normalized to a unit vectors prior to rotation. See: http://math.stackexchange.com/a/897677/6965
RU(A, B)
A |
Vector (usually the unit vector) |
B |
Vector |
U rotation matrix between A and B
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.