Skip to contents

Plots species-level proportions of occupied sites, \(\frac{\sum_{i = 1}^I z_{is}}{I}\).

Usage

plot_realised(fit, species = NULL, sites = NULL, ...)

Arguments

fit

A fitted model object from fit_model().

species

character. Vector of species to plot. If NULL (default), all species are plotted. Must be one of attr(occARU_data, "species").

sites

character. Vector of sites to use. If NULL (default), all sites are used. Must be one of attr(occARU_data, "sites").

...

Additional arguments passed to ggdist::stat_pointinterval().

Value

A ggplot object with occARU-specific attributes attached:

plot_data

The tibble used to produce the plot.