bec_colours {bcmaps} | R Documentation |
Biogeoclimatic Zone Colours
Description
Standard colours used to represent Biogeoclimatic Zone colours to be used in plotting.
Usage
bec_colours()
bec_colors()
Value
named vector of hexadecimal colour codes. Names are standard abbreviations of Zone names.
Examples
## Not run:
if (require(sf) && require(ggplot2)) {
bec <- bec()
ggplot() +
geom_sf(data = bec[bec$ZONE %in% c("BG", "PP"),],
aes(fill = ZONE, col = ZONE)) +
scale_fill_manual(values = bec_colors()) +
scale_colour_manual(values = bec_colours())
}
## End(Not run)
[Package bcmaps version 2.2.0 Index]