Plot A Map of the State Parameter Based on a Spatial ubms Model
plot_spatial(object, param = c("state", "eta"), sites = TRUE, cell_size = NULL)A ubmsFit model with a spatial random effect
The parameter to plot, either "state" for, e.g.,
mean occupancy or abundance, or "eta" for the random effect itself
If TRUE, also plot the locations of sites that
were sampled on the map and if had a detection of the species
The size of each side of the (square) cells drawn in the map,
in the same units as the coordinates. If NULL, ubms will try
to pick a reasonable cell size for you