View source: R/transient_plot.R
transient_plot | R Documentation |
CES sites may have an excess of individuals that are caught only once, and so potentially transient to the site. This function plots individuals by whether they were captured subsequently or not.
transient_plot(cesobj, col=c('blue', 'red'), border='gray10', leg.size=0.8, ...)
cesobj |
A CES object created by |
col |
Character vector. Colors to plot re-captured and not re-captured individuals respectively. |
border |
Character. Color for the border of the bars. |
leg.size |
Numeric. Size of the legend text. |
... |
Additional parameters passed to |
CES sites may have an excess of individuals that are caught only once, and so potentially transient to the site. This function plots individuals by whether they were captured subsequently or not, specifically whether they were captured twice in their first year (and so likely to be resident), captured only once in their first year (but caught again in a later year, and so also resident), and individuals caught only once. These latter may be transients (individuals passing through, or living on the very edge of the catching area, so with low capture probability) or resident individuals that happened not to be recaptured. Two barplots are produced, one classifying individuals by their year of first capture, and the second by site. Transients have the otential to bias survival estimates low as, once they leave the site (and so can no longer be captured), the models see them as dead. The function to calculate survival (mark.ces
) tries to estimate the proportion of these individuals in the sample.
A list with three elements. (i) years - the matrix necessary to draw the years barplot, (ii) sites - the matrix necessary to draw the sites barplot, and (iii) the species name.
Rob Robinson
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.