Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

simplifyMovements

Removes invalid events


Description

Remove invalid movement events and recalculate times/speeds.

Usage

simplifyMovements(movements, discard.first, tag, bio, speed.method, dist.mat)

Arguments

movements

the movement dataframe for the tag being analysed.

discard.first

A threshold amount of time (in hours) that must pass after release for the respective detections to be valid. Set to 0 to discard only the release-to-first-detection calculations.

tag

The tag ID of the animal currently being analysed

bio

The biometrics table.

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 containing only valid events for the target tag.


actel

Acoustic Telemetry Data Analysis

v1.2.1
GPL-3
Authors
Hugo Flávio [aut, cre] (<https://orcid.org/0000-0002-5174-1197>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.