technocolours | R Documentation |
Makes a discrete colour palette of length n
from the chosen technocolour palette.
technocolours(palette, n, interpolate = TRUE)
palette |
The name of the chosen palette. Choices are from: |
n |
The integer length of the desired palette. Default value is the length of the specified palette. |
interpolate |
Boolean. Indicates whether sequential or diverging palettes should interpolate between colours; this argument is not available for qualitative palettes. Default value is TRUE. |
A vector of colours.
technocolours(palette = "rush", n = 6)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.