ApplyStuRecap: Conveniently Apply 'StuRecap' Methods.

Description Usage Arguments Details Value Examples

View source: R/recap-methods.R

Description

ApplyStuRecap() is convenient wrapper for StuRecap methods. It works with the list outputs of such methods so user does not have to run for loops or nested lapply functions. See StuRecap.

Usage

1

Arguments

x

Object of class 'list' with each element of class 'RecapData' (e.g., TagRecaptures[["Data"]]).

...

Passed on to other methods. See details.

Details

StuRecap.StuRecap() accepts three arguments: 'species'; 'lencat'; & 'minDAL'. Each are described below.

species

default to 'w' (White Sturgeon)

lencat

default to 'NULL'; choices: s; l; o. defines the length category at tagging s = sub-legal, l = legal, and o = over-legal

minDAL

minimum days-at-large, default -1 to include all but useful for limiting fish caught within a day or week of being tagged, if so desired

Best to keep species as default as 'g' (Green Sturgeon; the other choice have but ~3 recaptures in entire dataset)

Value

List with the following items;

GetRecapInfo

function to get output of StuRecap.RecapData

GetMatrixData

function to get 2-column matrix - column 1 is release year & column 2 is recapture year

CrossTab

cross tab table made from matrix data release x recapture

Examples

1
# coming soon.

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