make_detect_data: Make Detect Data

Description Usage Arguments Details Value

Description

Makes detect_data object from a lex_data object. The hourly interval can be 1, 2, 3, 4, 6, 12 or 24.

Usage

1
2
3
4
make_detect_data(data, capture = data$capture, recapture = data$recapture,
  start_date = min(lubridate::date(capture$DateTimeCapture)),
  end_date = max(lubridate::date(capture$DateTimeTagExpire)),
  hourly_interval = 24L, recovery_days = 0L)

Arguments

data

The lex_data object.

capture

A data frame of the capture data to use.

recapture

A data frame of the recapture data to use.

start_date

A date of the start.

end_date

A date of the end.

hourly_interval

A count indicating the hourly interval.

recovery_days

A count indicating the number of days during which fish are recovering from acoustic tagging.

Details

If the individual has an active transmitter and no movement is detected after the recovery_days and it is not recaptured then it is considered a handling mortality and removed from the data set.

Value

A detect_data object.


poissonconsulting/lexr documentation built on Feb. 18, 2021, 11:12 p.m.