TagRetYear: Calculate Return Year for Angler Tag Returns.

Description Usage Arguments Value values Note Examples

View source: R/return_year.R

Description

Angler tag returns are classified based on the difference (in days) between the reported capture date and recorded release (tagging) date. This difference is converted to years (by dividing by 365.25 [0.25 accounts for leap year]) and is assigned as the 'return year' for the returned tag. A tag returned within 365.25 days post released is classified as return year = 1, and so on. Return year is used (for example) in exploitation estimates, where only tags with return year = 1 are used.

Usage

1
TagRetYear(data, dcap, drel)

Arguments

data

Dataframe containg angler tag return information (at the very least tag, date captured, and date released).

dcap

Field name (unquoted) in 'data' containing capture date.

drel

Field name (unquoted) in 'data' containing release date.

Value

List. See 'values'.

values

Note

Date fields should be of class 'Date' or 'POSIX'.

Examples

1
# coming soon

jasondubois/sportfish documentation built on July 3, 2020, 1:01 p.m.