getprobsClosed | R Documentation |
This function calculates posterior capture (p
) and recapture (c
) probabilities for each sampling occasion from multimarkClosed
output.
getprobsClosed(out, link = "logit")
out |
List of output returned by |
link |
Link function for detection probability. Must be " |
An object of class mcmc.list
containing the following:
p |
Posterior samples for capture probability ( |
c |
Posterior samples for recapture probability ( |
Brett T. McClintock
multimarkClosed
# This example is excluded from testing to reduce package check time
# Example uses unrealistically low values for nchain, iter, and burnin
#Run behavior model for bobcat data with constant detection probability (i.e., mod.p=~c)
bobcat.c <- multimarkClosed(bobcat,mod.p=~c)
#Calculate capture and recapture probabilities
pc <- getprobsClosed(bobcat.c)
summary(pc)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.