plot_discrete_palette: Get discrete palette for the plot

View source: R/rub_plot.R

plot_discrete_paletteR Documentation

Get discrete palette for the plot

Description

At the moment, RUB_palettes has discrete palettes for up to eight unique colors. Above that number, colors are interpolated.

Usage

plot_discrete_palette(colors_n)

Arguments

colors_n

Integer for the number of requestes colors in the discrete palette.

Value

Name of the appropriate discrete palette from RUB_palettes

Examples

RUBer:::plot_discrete_palette(12)

RichardMeyer-Eppler/RUBer documentation built on June 2, 2022, 7:24 p.m.