trajr1.5.1 package

Animal Trajectory Analysis

ElapsedTimeProgressBarFn

A general purpose progress bar that reports elapsed time rather than n...

lines.Trajectory

Add Trajectory lines to a plot

plot.TrajDirectionAutocorrelations

Plot method for direction autocorrelation

plot.Trajectory

Plot method for trajectories

plot.TrajSpeedIntervals

Plot method for trajectory speed intervals

points.Trajectory

Add Trajectory points to a plot

Traj3DDistance

3D Trajectory distance

Traj3DFromCoords

Create a 3D Trajectory Object

Traj3DLength

3D trajectory length

Traj3DRediscretize

Resample a 3D trajectory to a constant step length

Traj3DResampleTime

Resample a 3D trajectory to a constant time interval

Traj3DSmoothSG

Smooth a 3D trajectory using a Savitzky-Golay filter

Traj3DStepLengths

3D trajectory step lengths

Traj3DStraightness

Straightness of a 3D Trajectory

TrajAcceleration

Approximates the acceleration of a trajectory

TrajAngles

Turning angles of a Trajectory

TrajConvertTime

Converts a delimited time string to a numeric value

TrajDAMinMax

First direction autocorrelation minimum/maximum

TrajDerivatives

Calculates trajectory speed and change of speed

TrajDirectionalChange

Directional change (DC)

TrajDirectionAutocorrelations

Direction autocorrelation

TrajDistance

Trajectory distance

TrajDuration

Trajectory duration

TrajEmax

Trajectory straightness index, E-max

TrajExpectedSquareDisplacement

Trajectory expected square displacement

TrajFractalDimension

Fractal dimension of a trajectory

TrajFractalDimensionValues

Fractal dimension calculation

TrajFromCoords

Create a Trajectory Object

TrajFromTrjPoints

Create a trajectory from a subset of another

TrajGenerate

Generate a random trajectory

TrajGetFPS

Trajectory frames-per-second

TrajGetNCoords

Trajectory number of coordinates

TrajGetTimeUnits

Trajectory temporal units

TrajGetUnits

Trajectory spatial units

TrajInPolygon

Test whether each of the points in a trajectory lie inside a polygon

TrajLength

Trajectory length

TrajLogSequence

Logarithmically spaced sequence

TrajMeanVectorOfTurningAngles

Mean vector of turning angles

TrajMeanVelocity

Trajectory mean velocity

TrajMerge

Combine multiple trajectories into a single whole trajectory

trajr-package

trajr: Animal Trajectory Analysis

TrajRediscretize

Resample a trajectory to a constant step length

TrajResampleTime

Resample a trajectory to a constant time interval.

TrajReverse

Reverse a trajectory

TrajRotate

Rotate a trajectory

TrajsBuild

Construct multiple trajectories

TrajScale

Scale a trajectory

TrajSinuosity

Sinuosity of a trajectory

TrajSinuosity2

Sinuosity of a trajectory

TrajsMergeStats

Merge trajectory characteristics

TrajSmoothSG

Smooth a trajectory using a Savitzky-Golay filter

TrajSpeedIntervals

Calculate speed time intervals

TrajSplit

Split a trajectory into multiple sections

TrajSplitAtFirstCrossing

Split a trajectory into two parts, separated at the first boundary cro...

TrajsStatsReplaceNAs

Replace NAs in a data frame

TrajsStepLengths

Step lengths of multiple trajectories

TrajStepLengths

Trajectory step lengths

TrajStraightness

Straightness of a Trajectory

TrajTranslate

Translate a trajectory

TrajVelocity

Velocity of a trajectory

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>.

  • Maintainer: Jim McLean
  • License: MIT + file LICENSE
  • Last published: 2023-11-29