detection_timestep: Aggregate detection by timestep

Description Usage Arguments Value

View source: R/manipulate-detection.R

Description

Receiver group (location_column) per transmitter/timestep assigned by greatest number of detections.

Usage

1
detection_timestep(detection, timestep = "day", receiver_group = "array")

Arguments

detection

A tibble of raw detection data containing columns 'transmitter_id' and 'datetime_utc'.

timestep

A character string of the timestep. Acceptable values are those accepted by lubridate::floor_date(): second, minute, hour, day, week, month, bimonth, quarter, season, halfyear and year.

receiver_group

A character string of the column containing receiver group (e.g., station, zone, array).

Value

A modified tibble of the detection data.


sebdalgarno/wsgcolr documentation built on Dec. 22, 2021, 11:17 p.m.