pointsXYZ {rotations}R Documentation

Project rotation data onto sphere

Description

Projection of rotation matrices onto sphere with given center.

Usage

pointsXYZ(data, center = id.SO3, column = 1)

Arguments

data

data frame of rotation matrices in 3×33\times 3 matrix representation.

center

rotation matrix about which to center the observations.

column

integer 1 to 3 indicating which column to display.

Value

Data frame with columns X, Y, Z standing for the respective coordinates in 3D space.

Examples

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

[Package rotations version 1.6.5 Index]