calc_yb_residence: Calculate total residence time within the Yolo Bypass...

Description Usage Arguments Details Value

View source: R/calc_yb_residence.R

Description

Assumes: you have a detections dataframe for a single detection year that has the following columns:

Usage

1
calc_yb_residence(dets_df, TagID_col = "TagID")

Arguments

dets_df

detections data frame that is the result of the tag_tales function, with a ReleaseTime column, an arrival column, and a departure column

TagID_col

name of the tagid column

Details

- A "ReleaseTime" column that indicates the release time for each TagID, formatted as Y-m-d hh:mm:ss.

- arrival and departure columns, like those resulting from the tag_tales() function.

this function is designed to work on one detection year at at time

Value

A data frame of TagIDs and residence times


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