Learn R Programming

see (version 0.6.4)

palette_metro: Metro color palette

Description

The palette based on Metro colors (https://www.materialui.co/metrocolors).

Usage

palette_metro(palette = "complement", reverse = FALSE, ...)

Arguments

palette

Character name of palette. Depending on the color scale, can be "full", "ice", "rainbow", "complement", "contrast" or "light" (for dark themes).

reverse

Boolean indicating whether the palette should be reversed.

...

Additional arguments to pass to colorRampPalette().

Details

This function is usually not called directly, but from within scale_color_metro().