rotate3d: Rotates the 3D coordinates of a data frame

Description Usage Arguments Value

Description

Rotates the first, second, and third columns of df by rt. The 3D rotation is a composition of three rotations applied in the xy, xz, and yz planes, specified by the angles in rt[3], rt[2], and rt[1], respectively.

Usage

1

Arguments

df

a data frame

rt

a vector of three real numbers (angles in radians) to be applied to the x, y, and z coordinates of df

Value

a rotated data frame


ashtonwiens/gp.nonrigid.registration documentation built on April 11, 2020, 12:28 a.m.