ggplot2_scales: A discrete scale for the colour aesthetic in ggplot2

Description Usage Arguments Value

Description

A discrete scale for the colour aesthetic in ggplot2

A discrete scale for the fill aesthetic in ggplot2

Usage

1
2
3
4
5
6
7
8
scale_colour_disco(..., palette = "bright", alpha = NULL, direction = 1,
  aesthetics = "colour")

scale_color_disco(..., palette = "bright", alpha = NULL, direction = 1,
  aesthetics = "colour")

scale_fill_disco(..., palette = "bright", alpha = NULL, direction = 1,
  aesthetics = "fill")

Arguments

...

Arguments to pass on to 'ggplot2::discrete_scale()'

palette

The name of the palette from which to select colors

alpha

Degree of opacity in [0, 1]

direction

Order of colors (1 = forward, -1 = reverse)

Value

A 'ScaleDiscrete' object that can be added to a 'ggplot' object


nsgrantham/disco documentation built on May 3, 2019, 11:52 p.m.