rotmatrix {orientlib}R Documentation

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

A rotmatrix-class object.

Author(s)

Duncan Murdoch

See Also

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

Examples

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

[Package orientlib version 0.10.5 Index]