Learn R Programming

⚠️There's a newer version (1.6.5) of this package.Take me there.

rotations

The goal of rotations is to provide tools for working with rotation data. A stable version (1.6) of the rotations package is available for download from CRAN. For Windows users, the current version (1.6.1) 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

  • Comply with new Rcpp and CRAN guidelines
  • Fix bugs

Copy Link

Version

Install

install.packages('rotations')

Monthly Downloads

310

Version

1.6.1

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Bryan Stanfill

Last Published

April 3rd, 2020

Functions in rotations (1.6.1)

Mises

The circular-von Mises distribution
Cayley

The symmetric Cayley distribution
Fisher

The matrix-Fisher distribution
Q4

`Q4` class for storing rotation data as quaternions
MCMCSO3

MCMC for rotation data
Angular-distributions

Angular distributions
Haar

Uniform distribution
Maxwell

The modified Maxwell-Boltzmann distribution
Arithmetic

Arithmetic operators on SO(3)
SO3

`SO3` class for storing rotation data as rotation matrices
bayes.mean

Parameter estimates based on non-informative Bayes
UARS

Generic UARS Distribution
mis.axis

Misorientation axis
fisher.kappa

Circular variance and concentration parameter
discord

Measure of Discord
nickel

Nickel electron backscatter diffraction data set
bayesCR

Bayes credible regions
plot

Visualizing random rotations
cayley.kappa

Circular variance and concentration parameter
fisheretal

Transformation based pivotal bootstrap confidence region
drill

Drill data set
pointsXYZ

Project rotation data onto sphere
genR

Generate rotations
chang

M-estimator asymptotic confidence region
center

Center rotation data
maxwell.kappa

Circular variance and concentration parameter
mean

Mean rotation
head

Return the First or Last Part of an Object
log.SO3

Rotation logarithm
tail

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

Matrix exponential
rotations

A package for working with rotation data.
gradient.search

Gradient optimization for rotation data
rotdist.sum

Sample distance
median

Median rotation
project.SO3

Projection into SO(3)
mis.angle

Misorientation angle
vmises.kappa

Circular variance and concentration parameter
prentice

Transformation based asymptotic confidence region
rot.dist

Rotational distance
region

Confidence and credible regions for the central orientation
zhang

M-estimator theory pivotal bootstrap confidence region
weighted.mean

Weighted mean rotation