zb_color {zonebuilder} | R Documentation |
Generate colors for zones
Description
This function generates colors for zones.
Usage
zb_color(z, palette = c("rings", "hcl", "dartboard"))
Arguments
z |
An 'sf' object containing zones covering the region |
palette |
Palette type, one of |
Value
A vector of colors
Examples
z = zb_zone(london_c(), london_a())
zb_color(z)
plot(z[, "circle_id"], col = zb_color(z))
[Package zonebuilder version 0.0.2 Index]