Visualise objects returned by concentration_hotspot().
The default plot shows hotspot
centres, fixed-radius buffers, and the contributing points. For terra-based
results, diagnostic raster layers can also be plotted.
# S3 method for hotspot
plot(
x,
type = c("concentration", "focal", "rasterized", "updated_focal"),
color1 = NULL,
max.rad = 20,
...
)A mapview object.
An object of class hotspot.
Plot type. "concentration" shows hotspot buffers and
contributing points and works for all hotspot search methods.
"focal", "rasterized", and "updated_focal" are
diagnostic terra layers and are only available for terra-based results.
Optional colour or colours for hotspot buffers and points. If
NULL, colours are chosen with grDevices::hcl.colors().
Maximum point radius passed to mapview::mapview().
Default is 20.
Additional arguments passed to mapview::mapview() for the
contributing point layer when type = "concentration", or to the
raster mapview call for diagnostic raster layers.
The observed-points hotspot method does not create terra raster or
focal objects. For observed-points results, use
type = "concentration".