Learn R Programming

bcmaps (version 2.2.1)

bec_colours: Biogeoclimatic Zone Colours

Description

Standard colours used to represent Biogeoclimatic Zone colours to be used in plotting.

Usage

bec_colours()

bec_colors()

Arguments

Value

named vector of hexadecimal colour codes. Names are standard abbreviations of Zone names.

Examples

Run this code
if (FALSE) {
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())
}
}

Run the code above in your browser using DataLab