plot_coef,commOccu-method | R Documentation |
Plot effect sizes for all species in a community (multi-species) occupancy model. Currently only supports continuous covariates, not categorical covariates.
## S4 method for signature 'commOccu' plot_coef( object, mcmc.list, submodel = "state", ordered = TRUE, combine = FALSE, outdir, level = c(outer = 0.95, inner = 0.75), colorby = "significance", ... )
object |
|
mcmc.list |
mcmc.list. Output of |
submodel |
Submodel to get plots for. Can be "det" or "state" |
ordered |
logical. Order species in plot by median effect (TRUE) or by species name (FALSE) |
combine |
logical. Combine multiple plots into one (via facets)? |
outdir |
Directory to save plots to (optional) |
level |
Probability mass to include in the uncertainty interval (two values, second value - inner interval - will be plotted thicker) |
colorby |
Whether to color estimates by "significance" (of the effect estimates), or "Bayesian p-value" (of the species) |
... |
additional arguments for |
list of ggplot objects
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.