Packages

Installation and use

Install every package in the animovement ecosystem from R:

install.packages(
  "animovement",
  repos = c("https://animovement.r-universe.dev", "https://cloud.r-project.org")
)

or, in a Pixi project, as conda packages from the animovement channel on prefix.dev:

pixi add --channel https://prefix.dev/animovement --channel conda-forge r-animovement

Then run library(animovement) to load them. Some functions need extra packages, such as rhdf5 for HDF5 files. In R, install them all with animovement_install_suggested(). Install animovement covers both routes in more detail.

Core packages

The animovement packages work together across every stage of the movement-analysis workflow:

animovement

The metapackage that installs and loads the core packages you need for movement analysis. Go to package …

anicore

The core data structures: S3 classes for representing and manipulating movement data. Go to package …

aniread

Reads and writes movement data from diverse sources, from video tracking tools to trackballs. Go to package …

anicheck

Diagnoses data quality: missing values, temporal gaps and spatial outliers. Go to package …

aniprocess

Filters, smooths and processes movement trajectories. Go to package …

anispace

Spatial transformation methods for movement data, to reproject, rescale and reframe trajectories. Go to package …

animetric

Calculates movement metrics: kinematics, navigational statistics and social interaction measures. Go to package …

anivis

Publication-ready plots of trajectories, diagnostic summaries and calculated metrics. Go to package …