Description Usage Arguments Examples
This function allows you to generate color palettes based on Australian scenes. Discrete palettes cannot contain more than the maximum number of colours. Continuous palettes are interpolated between the first and last colour in the palette.
1 | colRoz_pal(name, n, type = c("discrete", "continuous", "paired"))
|
name |
Name of color palette desired. |
n |
Number of colors desired If omitted, uses all colours. |
type |
Either "discrete", "continuous" (default if empty), or "paired". |
1 2 3 | colRoz_pal(name = "grandis") # For continuous gradients, you can also use colour_fill_gradientn() in ggplot
colRoz_pal("m.horridus") # standard 5 options
colRoz_pal("m.horridus", n = 50, type = "continuous") # convert to continuous with 50 colours
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.