View source: R/list_palettes.R
| list_palettes | R Documentation |
Load and list all available color palettes compiled into an RDS file.
list_palettes(
palette_rds = system.file("extdata", "palettes.rds", package = "evanverse"),
type = c("sequential", "diverging", "qualitative"),
sort = TRUE,
verbose = TRUE
)
palette_rds |
Path to the RDS file. Default: |
type |
Palette type(s) to filter: |
sort |
Whether to sort by type, n_color, name. Default: TRUE. |
verbose |
Whether to print listing details to console. Default: TRUE. |
A data.frame with columns: name, type, n_color, colors.
list_palettes()
list_palettes(type = "qualitative")
list_palettes(type = c("sequential", "diverging"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.