cjs.fn | R Documentation |
CJS.fn summarizes the individual detection histories and estimates seeds for Cormack-Jolly-Seber (CJS) likelhood function. It is based on Skalski et al. (1998). This likelihood is also used to adjust survival for estimated tag life as described in Townsend et al. (2006). If no tag-life data provided, only the unadjusted CJS survival will be returned.
cjs.fn(detect.in, L.in = NULL, seeds.in = NULL, se.out = F, d = NULL)
detect.in |
Detection history in wide ATLAS format without rel.group or bin columns |
L.in |
L.in: Vector of mean probabilities tag is working given detection at each site. If NULL, function will estimate the CJS parameters without tag failure |
seeds.in |
Optional starting estimates for CJS model parameters Si, pi, li where i is 1:(total number of sites-1) |
se.out |
(T|F) Should standard error of cjs parameters be estimated. Uses variance matrix based on Hessian from MLE of cjs likelihood |
d |
proportion of detected tags censored at a location |
Returns a two-column matrix with CJS estimates and standard errors (if estimated)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.