Learn R Programming

orientlib: Support for Orientation Data

This package contains methods for working with orientation data, i.e. data from SO(3). The basic abstract class is the "orientation"; there are several concrete classes (with constructions rotmatrix(), rotvector(), eulerzyx(), eulerzxz(), quaternion(), skewmatrix() and skewvector()) storing different representations of orientations.

Methods are defined to get the length of a vector of orientations, as well as to extract and replace elements, and to multiply orientations and raise them to real powers.

There are also utility functions rotation.distance(), rotation.angle(), nearest.orthog() and nearest.SO3().

There is a plotting method boat3d() to display orientation data in a 3D plot, and a linear modelling function orientlm().

Installation

You can install the release version of orientlib using

install.packages("orientlib")

You can install the development version of orientlib from GitHub with:

# install.packages("devtools")
devtools::install_github("dmurdoch/orientlib")

Copy Link

Version

Install

install.packages('orientlib')

Monthly Downloads

1,472

Version

0.10.5

License

GPL

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

January 10th, 2023

Functions in orientlib (0.10.5)

orientlib

Orientation Library
rotvector

Create an orientation using vectorized 3x3 matrices
skewmatrix

Create an orientation using the entries in a skew-symmetric matrix representation
length-methods

Length of orientation object
orientlm

Linear models for orientation data
index-methods

Methods for indexing orientations
quaternion

Create an orientation using quaternions
vector-classes

Orientation classes
skewvector

Create an orientation using the entries in a skew-symmetric matrix representation
matrix-classes

Matrix orientation classes
mean-methods

Methods for calculating the mean
matrix-methods

Methods for matrix operations in `orientlib'
coerce-methods

Methods for Function coerce in Package `orientlib'
eulerzxz

Create an orientation using Euler angles
nearest

Find nearest SO(3) or orthogonal matrix.
boat3d

Draw boat glyphs for orientation data
eulerzyx

Create an orientation using Euler angles
rotation.distance

Rotation angle or distance
orientation-class

Class "orientation"
rotmatrix

Create an orientation using Euler angles
weighted.mean-methods

Weighted mean method