View source: R/rotate_landmark_points.R
rotate_landmark_points | R Documentation |
Given a data.frame of landmarks in x, y, z, x, y, z... configuration and a rotation matrix, rotate the points using the matrix and reconstruct the original format.
rotate_landmark_points(M, rot_mat)
M |
data.frame of landmark points |
rot_mat |
3x3 numeric rotation matrix |
Currently this function assumes that there will be points for "eye", "sacrum", "hip", "knee", "ankle", and "foot".
M points rotated using rot_mat
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.