Skip to contents

Add

These return your aniframe with something added: columns of per-row measures, a declared orientation, or a derived point.

add_kinematics()
Add kinematic measures to trajectory data
add_tortuosity()
Add tortuosity measures over sliding windows
add_nnd()
Add the distance to the n-th nearest neighbour
add_orientation() experimental
Declare orientation from the positions of points
add_point()
Add a derived point to an anipoint

Summarise

One row per group: the distribution of per-row measures with summarise_aniframe(), or the geometry of each whole trajectory with summarise_path().

summarise_aniframe() summarize_aniframe() experimental
Summarise the time series of an aniframe
summarise_path() summarize_path()
Summarise each trajectory as a whole

Compute

These functions are cogs used in the add_ and summarise_ functions.

compute_gradient()
Compute numerical derivatives on possibly uneven grids
differentiate()
Differentiate a numeric series (optionally repeatedly)
compute_straightness()
Compute straightness index from precomputed vectors
compute_sinuosity()
Compute sinuosity index from precomputed vectors
compute_emax()
Compute E_max (maximum expected displacement) from pre‑computed vectors
compute_min_step() experimental
The minimum step "auto" chooses for each trajectory
compute_point()
Compute a derived point of an identity level
compute_nnd()
Compute nearest neighbour distances within one group