plot: Automatically create a plot for objects obtained from...

Description Usage Arguments Value Author(s)

Description

Takes an object produced by 'neighborhood_gh_search()', and creates an interactive map.

Takes an object produced by 'neighborhood_gh_search()', and creates an interactive map.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
## 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",
  ...
)

## 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",
  ...
)

Arguments

x

object neighborhood object produced by 'neighborhood_gh_search()'

buffer

numeric value, show objects within buffer (in meters) from circle (defaults to 0)

legend_title

title of legend

palette

palette for points (defaults to "viridis")

legend_position

legend position for points legend (defaults to "bottomleft")

palette_circle

palette for circles (default to "YlOrRd")

legend_position_circle

legend position for circles legend (defaults to "bottomright")

legend_title_circle

title of legend for circles

...

additional arguments affecting the interactive map produced

Value

Interactive view of highest concentration on map

Interactive view of highest concentration on map

Author(s)

Martin Haringa

Martin Haringa


spatialrisk documentation built on Nov. 10, 2021, 5:09 p.m.