View source: R/highest_concentration_terra.R
| plot.hotspot | R Documentation |
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 class 'hotspot'
plot(
x,
type = c("concentration", "focal", "rasterized", "updated_focal"),
color1 = NULL,
max.rad = 20,
...,
basemaps = c("Esri.WorldGrayCanvas", "OpenStreetMap", "Esri.WorldImagery")
)
x |
An object of class |
type |
Plot type. |
color1 |
Optional colour or colours for hotspot buffers and points. If
|
max.rad |
Maximum point radius passed to |
... |
Additional arguments passed to |
basemaps |
Character vector of basemap providers. The first provider
is shown initially; the others are available in the layer control.
Defaults to |
The observed-points hotspot method does not create terra raster or
focal objects. For observed-points results, use
type = "concentration".
A mapview object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.