bec_colours: Biogeoclimatic Zone Colours

View source: R/utils.R

bec_coloursR 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)

bcgov/bcmaps documentation built on Oct. 26, 2024, 10:26 p.m.