pointsXYZ | R Documentation |
Projection of rotation matrices onto sphere with given center.
pointsXYZ(data, center = id.SO3, column = 1)
data |
data frame of rotation matrices in |
center |
rotation matrix about which to center the observations. |
column |
integer 1 to 3 indicating which column to display. |
Data frame with columns X, Y, Z standing for the respective coordinates in 3D space.
Rs<-ruars(20, rcayley)
#Project the sample's 3 axes onto the 3-shere centered at the identity rotation
pointsXYZ(Rs, center = id.SO3, column = 1) #x-axis
pointsXYZ(Rs, center = id.SO3, column = 2) #y-axis
pointsXYZ(Rs, center = id.SO3, column = 3) #z-axis
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.