Learn R Programming

see (version 0.4.1)

palette_material: Material design color palette

Description

The palette based on material design colors (https://www.materialui.co/colors).

Usage

palette_material(palette = "contrast", 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_material().