identify_sheds: Identify Shed tags

Description Usage Arguments Details Value Author(s)

View source: R/sheds.R

Description

Identify a shed tag

Usage

1
identify_sheds(df, id_column = "TagID", ...)

Arguments

df

data.frame of detection histories created by tag_tales().

id_column

character, the name of the TagID column

...

additional args passed to id_one_shed

Details

This function identifies a shed tag, or a large gap in a fish history, according to if a tag was detected at a single station for 7 continuous days, without a break in the detections for more than one hour.

The tag_tales() function defaults to lumping all detections with no more than 1 hour between detections into a single stay. By default, the shed tag can only be at the last detected station (as the tag should not be moving once shed).

Value

data.frame, with TagID, shed (logical), and long_gap (logical)

Author(s)

Matt Espe


fishsciences/ybt documentation built on March 11, 2021, 8:45 a.m.