Learn R Programming

rotations

The goal of rotations is to provide tools for working with rotation data. A stable version (1.6.3) of the rotations package is available for download from CRAN. For Windows users, the current version (1.6.4) of rotations can be downloaded from GitHub. Mac users will need to download the repo, compile the C++ code and install.

Installation

remotes::install_github("stanfill/rotationsC", subdir = "rotations")

Example

This is a basic example which shows you how to solve a common problem:

library(rotations)
## basic example code

Change log

  • Dropped interactive option for plotting because sphere plot was going to be removed from CRAN

Copy Link

Version

Install

install.packages('rotations')

Monthly Downloads

362

Version

1.6.5

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

December 8th, 2023

Functions in rotations (1.6.5)

bayes.mean

Parameter estimates based on non-informative Bayes
drill

Drill data set
head

Return the First or Last Parts of an Object
median

Median rotation
mis.angle

Misorientation angle
genR

Generate rotations
gradient.search

Gradient optimization for rotation data
log.SO3

Rotation logarithm
tail

Return the First or Last Parts of an Object
skew.exp

Matrix exponential
project.SO3

Projection into SO(3)
maxwell.kappa

Circular variance and concentration parameter
prentice

Transformation based asymptotic confidence region
mean

Mean rotation
zhang

M-estimator theory pivotal bootstrap confidence region
pointsXYZ

Project rotation data onto sphere
plot

Visualizing random rotations
vmises.kappa

Circular variance and concentration parameter
rot.dist

Rotational distance
region

Confidence and credible regions for the central orientation
rotations

A package for working with rotation data.
mis.axis

Misorientation axis
weighted.mean

Weighted mean rotation
rotdist.sum

Sample distance
nickel

Nickel electron backscatter diffraction data set
Q4

`Q4` class for storing rotation data as quaternions
Maxwell

The modified Maxwell-Boltzmann distribution
Cayley

The symmetric Cayley distribution
Angular-distributions

Angular distributions
Arithmetic

Arithmetic operators on SO(3)
MCMCSO3

MCMC for rotation data
Mises

The circular-von Mises distribution
Haar

Uniform distribution
Fisher

The matrix-Fisher distribution
fisheretal

Transformation based pivotal bootstrap confidence region
bayesCR

Bayes credible regions
fisher.kappa

Circular variance and concentration parameter
center

Center rotation data
UARS

Generic UARS Distribution
cayley.kappa

Circular variance and concentration parameter
discord

Measure of Discord
SO3

`SO3` class for storing rotation data as rotation matrices
chang

M-estimator asymptotic confidence region