spawning_no: No Spawning

Description Usage Arguments Details

View source: R/spawning.R

Description

A function that simply returns FALSE for every time period.

Usage

1
spawning_no(detection, period)

Arguments

detection

A data.frame of the detection data for the capture.

period

A data.frame of the periods.

Details

To identify spawning events when making analysis data pass a custom function in place of spawning_no. The function has to take the same arguments and return a logical vector even if there are no detections for an individual. It should do this by returning FALSE for all periods outside the spawning window and NA for all periods inside the spawning window if no information is available.

To see the columns and types in detection and period view the function definition for spawning_no.


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