lc_palettes {legocolors} | R Documentation |
Predefined palettes and palette generators
Description
These functions are analogs to familiar R color palettes but based on Lego colors.
Usage
lc_terrain(n)
lc_topo(n)
lc_heat(n)
Arguments
n |
if not provided, return the vector of official Lego colors defining
the palette. If provided, return an interpolated palette, which will contain
non-Lego colors only if |
Value
character vector of hex colors
Examples
lc_terrain()
lc_terrain(4)
lc_topo()
lc_heat()
[Package legocolors version 0.3.1 Index]