actel (version 1.1.0)

movementSpeeds: Calculate time and speed

Description

Triggers movementTimes and also calculates the speed between events.

Usage

movementSpeeds(movements, speed.method, dist.mat)

Arguments

movements

A list of movements for each target tag, created by groupMovements.

speed.method

Can take two forms: 'last to first' or 'last to last'. If 'last to first' (default), the last detection on the previous array is matched to the first detection on the target array to perform the calculations. If 'last to last', the last detection on <U+00B4>the previous array is matched to the last detection on the target array to perform the calculations.

dist.mat

A matrix of the distances between the deployed ALS.

Value

The movement data frame with speed calculations for the target fish.