my_ggplot: Customize ggplot

Description Usage Arguments

Description

These functions provide customization for ggplot2.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
my_scale_color(
  type = "div",
  data = "cont",
  other = FALSE,
  bw = FALSE,
  direction = 1,
  ...
)

my_scale_fill(
  type = "div",
  data = "cont",
  other = FALSE,
  bw = FALSE,
  direction = 1,
  ...
)

my_theme(..., font = TRUE, axis = "c")

Arguments

type

One of "div", "seq", or "qual": the type of palette desired.

data

One of "cont" or "discrete: the type of data being plotted.

other

Logical. Use the "other" version of the palette if true.

bw

Logical. Print a black and white version of the figure.

font

Logical. Whether the figure should be plotted with the Roboto Condensed font (requires installation).


louisahsmith/louisahstuff documentation built on June 4, 2021, 12:48 p.m.