get_colour_codes | R Documentation |
get_colour_codes() is a Get function that extracts data from an object. Specifically, this function implements an algorithm to get colour codes. The function returns Colour codes (a character vector).
get_colour_codes(
colour_1L_int = 1,
manual_chr = c("#de2d26", "#fc9272"),
pick_1L_int = integer(0),
single_1L_lgl = FALSE,
style_1L_chr = get_styles(),
type_1L_chr = c("ggsci", "manual", "viridis")
)
colour_1L_int |
Colour (an integer vector of length one), Default: 1 |
manual_chr |
Manual (a character vector), Default: c("#de2d26", "#fc9272") |
pick_1L_int |
Pick (an integer vector of length one), Default: integer(0) |
single_1L_lgl |
Single (a logical vector of length one), Default: FALSE |
style_1L_chr |
Style (a character vector of length one), Default: get_styles() |
type_1L_chr |
Type (a character vector of length one), Default: c("ggsci", "manual", "viridis") |
Colour codes (a character vector)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.