choose_overlapping: Handle overlapping attempts

View source: R/revisit_funs.R

choose_overlappingR Documentation

Handle overlapping attempts

Description

choose_overlapping selects top candidate nesting attempt among those that are temporally overlapping.

Usage

choose_overlapping(attempts)

Arguments

attempts

data.frame of revisitation patterns of candidate nests

Details

Within the function nest_finder, choose_overlapping is used when discard_overlapping = TRUE.

If the list of nest candidates includes temporally overlapping nesting attempts, only the candidate with the most visits is kept and the others get discarded. This is based on the rationale that an individual cannot simultaneously nest at more than one location. The location that is visited the most is assumed to be the most likely true nest.

Value

Returns data.frame of revisitation patterns filtered to only include non-temporally overlapping candidate nests


picardis/nestR documentation built on July 2, 2024, 6:35 p.m.