plot_effects,commOccu-method | R Documentation |
Plot marginal effect plots (= response curves if covariates are continuous) for all species in a community (multi-species) occupancy model. Takes into account species-specific intercepts (if any). Currently only supports continuous covariates, not categorical covariates.
## S4 method for signature 'commOccu' plot_effects( object, mcmc.list, submodel = "state", draws = 1000, outdir, level = 0.95, keyword_squared = "_squared", ... )
object |
|
mcmc.list |
mcmc.list. Output of |
submodel |
Submodel to get plots for. Can be "det" or "state" |
draws |
Number of draws from the posterior to use when generating the plots. If fewer than draws are available, they are all used |
outdir |
Directory to save plots to (optional) |
level |
Probability mass to include in the uncertainty interval |
keyword_squared |
character. A suffix in covariate names in the model that indicates a covariate is a quadratic effect of another covariate which does not carry the suffix in its name. |
... |
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.