View source: R/utils_palettes.R
rtpalette | R Documentation |
rtpalette()
prints names of available color palettes
Each palette is a named list of hexadecimal color definitions which can be used with
any graphics function.
rtpalette(palette_name)
returns a list of colors for a given palette.
rtpalette(palette = NULL, verbosity = 1L)
palette |
Character: Name of palette to return. Default = NULL: available palette names are printed and no palette is returned. |
verbosity |
Integer: Verbosity level. |
A list of available palettes, invisibly.
EDG
## Not run:
rtpalette("imperial")
rtpalette()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.