rigidbody | R Documentation |
Applies a rigid body transformations to a landmark configuration or array
rigidbody(X,transx=0,transy=0,transz=0,thetax=0,thetay=0,thetaz=0)
X |
k x m matrix, or k x m x n array where k = number of landmarks and m = no of dimensions and n is no of specimens |
transx |
negative shift in x-coordinates |
transy |
negative shift in y-coordinates |
transz |
negative shift in z-coordinates |
thetax |
Rotation about x-axis in degrees |
thetay |
Rotation about y-axis in degrees |
thetaz |
Rotation about z-axis in degrees |
The transformed coordinates (X - trans) Rx Ry Rz
Ian Dryden
data(gorf.dat) plotshapes ( rigidbody(gorf.dat , 0, 0, 0, 0, 0, -90 ) )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.