Animal Trajectory Analysis
Overview
A toolbox to assist with statistical analysis of animal trajectories. It provides simple access to algorithms for calculating and assessing a variety of characteristics such as speed and acceleration, as well as multiple measures of straightness or tortuosity. Some support is provided for 3-dimensional trajectories. McLean & Skowron Volponi (2018) doi:10.1111/eth.12739.
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-07
- OK14 OK2026-03-10
Documentation
- Help pages
- 60 (1 internal)includes a package overview page
- Examples that run
- 83%20 run in a plain check · 4 never run
- Exported functions with examples
- 42%
- Documented parameters
- 97%
- Return-value docs
- 83%
- Help pages citing references
- 25%
Downloads
Repository
- PRs merged (all time)
- not measured
- Median days to close, 50 most recently updated closed issues
- 13
- Median days to close, 50 most recently updated closed PRs
- not measured
Stars over time
Forks over time
Releases over time
Issues over time
5 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/jimmcl/trajr on 2026-10-21.
The R CMD check workflow runs on Linux
Dependencies
Code & Tests
People & History
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
- 1.5.1Latest
- 1.5.02023-06-24 · diff ↗ ·
added 9 exports
Traj3DDistance, Traj3DFromCoords, Traj3DLength, Traj3DRediscretize, Traj3DResampleTime, Traj3DSmoothSG, Traj3DStepLengths, Traj3DStraightness, TrajFromTrjPoints - RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 1.4.02020-12-17 · diff ↗ ·
added 6 exports
TrajAcceleration, TrajInPolygon, TrajMerge, TrajSplit, TrajSplitAtFirstCrossing, TrajVelocity - RR 4.0.0 released · 2020-04-24
- 1.3.0
- RR 3.6.0 released · 2019-04-26
- 1.1.0
- RR 3.5.0 released · 2018-04-23
- 1.0.02018-01-05
- RR 3.4.0 released · 2017-04-21
Package metadata
- First published
- 2018-01-05
- Total releases
- 6 / 8 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 3.5.0
- Download size
- 1.3 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("trajr")The package provides a citation file that builds its entry when R runs it. Run citation() to see it.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.