scale_colour_ggpalette_d: Discrete ggplot palettes

Description Usage Arguments explanation

View source: R/discrete-scale.R

Description

Discrete ggplot palettes

Usage

1
2
3
4
5
6
scale_colour_ggpalette_d(
  primary = "pink",
  other = "orange",
  direction = 1,
  ...
)

Arguments

Usage:

scale_colour_ggpalette_d (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

explanation

A function that uses ggplot2::discrete_scale to allow ggplot2 to use the colour palette


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