Projection of rotation matrices onto sphere with given center.
pointsXYZ(data, center = id.SO3, column = 1)
Data frame with columns X, Y, Z standing for the respective coordinates in 3D space.
data frame of rotation matrices in
rotation matrix about which to center the observations.
integer 1 to 3 indicating which column to display.
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
Run the code above in your browser using DataLab