simpleCJS: Analytical CJS model

View source: R/CJS.R

simpleCJSR Documentation

Analytical CJS model

Description

Computes an analytical CJS model for a presence/absence matrix.

Usage

simpleCJS(input, estimate = NULL, fixed.efficiency = NULL, silent = TRUE)

Arguments

input

A presence/absence matrix.

estimate

An estimate of the last array's efficiency, between 0 and 1.

fixed.efficiency

A vector of fixed efficiency estimates [0, 1]. length(fixed.efficiency) must match ncol(input).

silent

Logical: Should messages be printed? This argument is mainly intended for function calls running within actel's analyses.

Value

A list containing:

  • absolutes A data frame with the absolute number of tags detected and missed,

  • efficiency A vector of calculated array detection efficiencies,

  • survival A matrix of calculated survivals,

  • lambda A combined detection efficiency * survival estimate for the last array.

References

Perry et al (2012), 'Using mark-recapture models to estimate survival from telemetry data'. url: https://www.researchgate.net/publication/256443823_Using_mark-recapture_models_to_estimate_survival_from_telemetry_data

Examples

# prepare a dummy presence/absence matrix
x <- matrix(c(TRUE, TRUE, TRUE, TRUE, FALSE, TRUE, TRUE, TRUE, FALSE), ncol = 3)
colnames(x) <- c("Release", "Array1", "Array2")

# run CJS
simpleCJS(x)


actel documentation built on Oct. 19, 2023, 9:08 a.m.