Description Usage Arguments Value
Rotates the first, second, and third columns of df
by rt
. The 3D
rotation is a composition of three rotations applied in the xy, xz, and yz planes,
specified by the angles in rt[3]
, rt[2]
, and rt[1]
, respectively.
1 |
df |
a data frame |
rt |
a vector of three real numbers (angles in radians) to be applied to the
x, y, and z coordinates of |
a rotated data frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.