rotx | R Documentation |
Returns three dimensional rotation matrices for rotation around the x-axis of a three dimensional coordinate system.
rotx(ang, radians = TRUE, block.out = FALSE, drop.out = TRUE, byrow = TRUE)
ang |
is a vedctor of the rotation angles around the x-axis. |
radians |
is TRUE if 'ang' is given in radians, and FALSE if 'ang' is given in degrees. |
block.out |
is TRUE if the rotation matrices should be returned as a 3x3*l matrix, where 'l' is the number of rotation angles. If FALSE, an 3x3xl array is returned. |
drop.out |
is relevant only if block.out==FALSE and l==1, and if set to TRUE a 3x3 matrix is returned instead of a 3x3x1 array. |
byrow |
is TRUE if the matrices are to be organized by rows (vertically). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.