Learn R Programming

orientlib (version 0.7.2)

rotmatrix: Create an orientation using Euler angles

Description

Creates a rotmatrix-class object.

Usage

rotmatrix(a)

Arguments

a
A 3 x 3 matrix or 3 x 3 x n array of matrices or an orientation object.

Value

See Also

rotmatrix-class, rotvector, eulerzyx, eulerzxz, quaternion, skewvector, skewmatrix

Examples

Run this code
x <- rotmatrix(matrix(c(1,0,0, 0,1,0, 0,0,1), 3, 3))
x

Run the code above in your browser using DataLab