bec_colours: Biogeoclimatic Zone Colours

Description Usage Value Examples

View source: R/utils.R

Description

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

Usage

1
2
3

Value

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

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## 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)

bcmaps documentation built on March 10, 2021, 1:06 a.m.