zb_view: View zones

Description Usage Arguments Value Examples

View source: R/plot.R

Description

This function opens an interactive map of the zones

Usage

1
zb_view(z, alpha = 0.4, palette = c("rings", "hcl", "dartboard"), title = NULL)

Arguments

z

An 'sf' object containing zones covering the region

alpha

Alpha transparency, number between 0 (fully transparent) and 1 (not transparent)

palette

Palette type, one of "hcl" (a palette based on the HCL color space), "rings" (a palette which colors the rings using the YlOrBr color brewer palette), "dartboard" (a palette which resembles a dartboard)

title

The title of the plot

Value

An interactive map created with 'tmap'

Examples

1
2
z = zb_zone(london_c(), london_a())
zb_view(z, palette = "rings")

zonebuilder documentation built on July 13, 2021, 1:06 a.m.