base_map_imp: Plot Berlin template map showing imperviousness and green...

View source: R/base_map_imp.R

base_map_impR Documentation

Plot Berlin template map showing imperviousness and green areas

Description

Plot Berlin template map showing imperviousness and green areas

Usage

base_map_imp(
  color_intensity = 0.5,
  resolution = 100,
  globe = FALSE,
  legend = "bottom",
  legend_x = NULL,
  legend_y = NULL,
  print = FALSE
)

Arguments

color_intensity

A numeric. A number to control the desaturation of the color intensity, ranging from 0 (fully desaturated) to 1 (fully saturated).

resolution

A numeric. Resolution of the imperviousness raster in meters, starting from 10m.

globe

A Boolean. If TRUE a inset globe is added to the map.

legend

A string. Either "bottom", "top", or "none". Otherwise specify positions via legend_x and legend_y

legend_x

A numeric. Horizontal position of the legend (0–1)

legend_y

A numeric. Vertical position of the legend (0–1)

print

A Boolean. If TRUE prints the map in the viewer pane.

Value

A ggplot object containing a template map of Berlin.

Examples

## Not run: 
base_map_imp()
base_map_imp(resolution = 500, color_intensity = 1, globe = TRUE,
             legend_x = .17, legend_y = .12)
base_map_imp(resolution = 500, color_intensity = 1, legend = "top")

## End(Not run)


EcoDynIZW/d6berlin documentation built on March 20, 2024, 2:10 p.m.