actel (version 1.1.0)

groupMovements: Group movements

Description

Crawls trough the detections of each fish and groups them based on ALS arrays and time requirements.

Usage

groupMovements(
  detections.list,
  bio,
  spatial,
  speed.method,
  max.interval,
  tz,
  dist.mat
)

Arguments

detections.list

A list of the detections split by each target tag, created by splitDetections.

bio

A table with the tags and biometrics of the studied fish.

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.

max.interval

The number of minutes that must pass between detections for a new event to be created. Defaults to 60.

tz

The time zone of the study area. Must match one of the values present in timezones.

dist.mat

A matrix of the distances between the deployed ALS.

Value

A list containing the movement events for each fish.