movementSpeeds: Calculate time and speed

View source: R/movements.R

movementSpeedsR Documentation

Calculate time and speed

Description

Triggers movementTimes and also calculates the speed between events.

Usage

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

Arguments

movements

the movement dataframe for the tag being analysed.

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


actel documentation built on Oct. 19, 2023, 9:08 a.m.