my_ggplot: Customize ggplot

my_ggplotR Documentation

Customize ggplot

Description

These functions provide customization for ggplot2.

Usage

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 Aug. 9, 2022, 4:16 a.m.