estNodeEff: Node Efficiency

View source: R/estNodeEff.R

estNodeEffR Documentation

Node Efficiency

Description

This function uses detections at a given node, and all detections upstream of that node to calculate detection efficiency at that node. It uses the Chapman, Petersen, or Bailey estimator for the number of tags at that node (the Chapman estimator is used if no recaptures are available). The detection efficiency is then calculated as the number of tags detected at that node, divided by the estimate of total tags at that node.

Usage

estNodeEff(
  capHist_proc = NULL,
  node_order = NULL,
  node = NULL,
  method = c("Chapman", "Petersen", "Bailey")
)

Arguments

node_order

Dataframe returned by 'buildNodeOrder()'

node

character string of the node(s) of interest. If not supplied, efficiencies will be calculated for every node in 'node_order'.

method

one of 'Chapman', 'Petersen', or 'Bailey.' Determines which formula to use when estimating tags past an array. Default is 'Chapman'. If another method is selected, and fails (e.g. due to no recaptures), the 'Chapman' estimator will be used.

cap_hist

Dataframe returned by 'compress()'; must have columns named 'tag_code' and 'node'. More appropriate would be the output of 'filterDetections()' or 'prepWrapper()', which is then filterd by either 'auto_keep_obs' or 'user_keep_obs'.

Value

a tibble

Author(s)

Kevin See

Examples

estNodeEff()

KevinSee/PITcleanr documentation built on Feb. 27, 2024, 11:03 p.m.