detect2matrix: Convert detection data into a matrix

Description Usage Arguments Value

Description

This function takes the original detections from acoustic telemetry data and chooses the receiver with the largest amount of detections for each day and a given time interval (e.g. 30 min).

Usage

1
detect2matrix(time.stamp, rec.id, time.int = "30min", xlim = NULL)

Arguments

time.stamp

vector with the date and time of each detection in POSIXt format.

rec.id

vector with the ID codes of the receivers for each detection.

time.int

time interval for the Y axis of the plot, as given to the units argument of the round_date function in the lubridate package.

xlim

date limits for the x axis in Date format.

Value

A matrix with the IDs of the receivers for each day and time interval.


aspillaga/fishtrack3d documentation built on June 4, 2019, 9:14 a.m.