plot.neighborhood: Plot deprecated geohash neighbourhood results

plot.neighborhoodR Documentation

Plot deprecated geohash neighbourhood results

Description

Deprecated plotting method for objects produced by neighborhood_gh_search(). For current hotspot results, use plot() on the object returned by concentration_hotspot.

Usage

## S3 method for class 'neighborhood'
plot(
  x,
  buffer = 0,
  legend_title = NULL,
  palette = "viridis",
  legend_position = "bottomleft",
  palette_circle = "YlOrRd",
  legend_position_circle = "bottomright",
  legend_title_circle = "Highest concentration",
  providers = c("Esri.WorldGrayCanvas", "OpenStreetMap", "Esri.WorldImagery"),
  ...
)

Arguments

x

Legacy object of class neighborhood.

buffer

Numeric. Buffer around the circle in meters.

legend_title

Optional legend title for the point layer.

palette

Palette used for the point layer.

legend_position

Legend position for the point layer.

palette_circle

Palette used for the circle layer.

legend_position_circle

Legend position for the circle layer.

legend_title_circle

Optional legend title for the circle layer.

providers

Leaflet tile providers. The first provider is shown initially; the others are available in the layer control. Defaults to "Esri.WorldGrayCanvas", "OpenStreetMap", and "Esri.WorldImagery".

...

Additional arguments passed to the interactive map.

Value

An interactive map.

Author(s)

Martin Haringa


spatialrisk documentation built on Oct. 16, 2026, 5:09 p.m.