speedReleaseToFirst: Calculate time and speed since release.

View source: R/movements.R

speedReleaseToFirstR Documentation

Calculate time and speed since release.

Description

Calculate time and speed since release.

Usage

speedReleaseToFirst(tag, bio, movements, dist.mat, speed.method)

Arguments

tag

The tag ID of the animal currently being analysed

bio

The biometrics table.

movements

the movement dataframe for the tag being analysed.

dist.mat

A matrix of the distances between the deployed ALS.

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.

Value

The movement data frame containing time and speed from release to first event.


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