splitByPIT: a function to split PBT release groups estimated by var1...

View source: R/util.R

splitByPITR Documentation

a function to split PBT release groups estimated by var1 according to PIT tag detections. Used for WA "release groups" that are split between groups released below and above LGD.

Description

a function to split PBT release groups estimated by var1 according to PIT tag detections. Used for WA "release groups" that are split between groups released below and above LGD.

Usage

splitByPIT(est_comp, splitByPITinput)

Arguments

est_comp

The output of either ascension_composition or HNC_expand where PBT release group was estimated as var1 for H and HNC.

splitByPITinput

A tibble with columns releaseGroupPBT, stockGroup, releaseGroupPIT (optional), detectPIT, and tagRatePIT. Each line defines a PIT tag release group. releaseGroupPBT is the var1 (within H and HNC) that the PIT release group belongs to. stockGroup defines the stockGroup it belongs to (typically "upper" or "lower") detectPIT is the number of PIT tags detected from this group (actual number NOT expanded number) and tagRatePIT is the PIT tagging rate for this group.


delomast/escapeLGD documentation built on June 9, 2025, 10:52 p.m.