zb_view: View zones

View source: R/plot.R

zb_viewR Documentation

View zones

Description

This function opens an interactive map of the zones

Usage

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


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


zonebuilders/zonebuilder documentation built on June 13, 2024, 9:34 p.m.