Learn R Programming

see (version 0.4.1)

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. Can be "full", "ice", "rainbow", "complement", or "contrast".

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().