matt: Matts Custom Colours

Description Usage Arguments Format Details

Description

Functions for building and accessing Matt's favourite colours and palettes for use in ggplot visualizations.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
scale_color_matt(palette = "rainbow", discrete = TRUE, reverse = FALSE, ...)

scale_fill_matt(palette = "rainbow", discrete = TRUE, reverse = FALSE, ...)

matts_cols(...)

matts_pals(palette = "rainbow", reverse = FALSE, ...)

matts_colours

matts_palettes

Arguments

palette

Name of palette.

discrete

Logical. Is the colour palette for a discrete mapping?

reverse

Logical. Should the colours/palette be reverse?

...

Additional arguments passed on to relevant function.

Format

An object of class character of length 3.

Details

Here is a breakdown of the important functions and what they do:

See matts_palettes() for a list of the available palettes.


mattwarkentin/sandbox documentation built on Jan. 29, 2020, 4:46 p.m.