Conversion Between Attitude Representations of DCM, Euler Angles, Quaternions, and Euler Vectors
Overview
Conversion between attitude representations: DCM, Euler angles, Quaternions, and Euler vectors. Plus conversion between 2 Euler angle set types (xyx, yzy, zxz, xzx, yxy, zyz, xyz, yzx, zxy, xzy, yxz, zyx). Fully vectorized code, with warnings/errors for Euler angles (singularity, out of range, invalid angle order), DCM (orthogonality, not proper, exceeded tolerance to unity determinant) and Euler vectors(not unity). Also quaternion and other useful functions. Based on SpinCalc by John Fuller and SpinConv by Paolo de Leva.
Install
Health
- OK13 OK2026-09-08
- ERROR12 OK, 1 ERROR2026-09-07
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 34
- Examples that run
- 76%26 run in a plain check · 8 never run
- Exported functions with examples
- 100%
- Documented parameters
- not tracked
- Return-value docs
- not tracked
- Help pages citing references
- 41%
Also includes 1 demo script (run with demo())
Downloads
Dependencies
Installing RSpincalc adds no packages beyond those that come with R.
Code & Tests
People & History
Maintainer since 1.0.0 (2014)
Show 3 peopleHide 3 people
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
- RR 3.3.0 released · 2016-05-03
- 1.0.2Latest
- RR 3.2.0 released · 2015-04-16
- archivedRemoved from CRAN2014-12-07maintainer address <jgama@abo.fi> bounced
- RR 3.1.0 released · 2014-04-10
- 1.0.12014-02-26 · diff ↗
Show 2 earlier eventsHide 2 earlier events
- 1.0.02014-02-11
- RR 3.0.0 released · 2013-04-03
Package metadata
- First published
- 2014-02-11
- Total releases
- 3 / 12 yrs
- License
- GPL (>= 3) OSI
- Download size
- 16 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("RSpincalc")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-26, which the citation names so these numbers can be found later. More on citing and the projects behind them.