cjs.lik | R Documentation |
This is a likelihood function for unadjusted- or adjusted-for-taglife Cormack-Jolly-Seber (CJS) estimates. It is based on Skalski et al. (1998). Adjustment to survival for estimated tag life as described in Townsend et al. (2006).
cjs.lik(params, counts.in, num.period, use.hist, L.in = NULL, d.in = NULL)
params |
The likelihood MLE estimators (S,p,l) in a single vector |
counts.in |
Vector of summed detections by history (names are history) |
num.period |
Number of detection periods in history |
use.hist |
Matrix of unique detection histories |
L.in |
The probability that a tag is working at a detection site at a given time. Set to 1 if active tags not indicated. p(tag working) is cumulative to each site, not a multiplicate from site to site |
d.in |
The probability a tag is censored given that it's detected |
This function returns a negative log-likelihood
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.