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