ggpalette_pal: ggpalette_palette

Description Usage Arguments explanation

View source: R/palette.R

Description

ggpalette_palette

Usage

1
ggpalette_pal(primary = "pink", other = "orange", direction = 1)

Arguments

Usage:

ggpalette(primary = "pink", other = "orange", direction = 1)

Arguments:

primary specify a manual color other specifies the name of the second (or other) color direction default value is 1; allows the user reverse the order of the palette

Value:

n is the number of colours being picked, and returne message or warn the user if n is larger than the number of colours in the palette.

explanation

A function that takes a single argument n and returns n colors, and let the user re-order the colors for specific values of n


yuwei217/ggpalette documentation built on Dec. 23, 2021, 8:21 p.m.