Helper function that takes a movement data frame and adds a new column R with the rotation matrices.

add_rot_move(df)

Arguments

df

Movement data frame. Expected columns: rot_x, rot_y, rot_z

Value

Same df with rotation matrices added