R4DS Ch. 28

scale_y_log10()

{ggplot2}

scale y axis to be log base 10

geom_label_repel(

{ggrepel}

adds text in rectangle to plot with labels repelling away from each other and the data

ylim

{ggplot2}

coordinate argument to limit data range

quote()

{base}

returns quoted expression

xlim

{ggplot2}

coordinate argument to limit data range

guide_legend()

{ggplot2}

control legend formatting

scale_x_log10()

{ggplot2}

scale x axis to be log base 10

scale_color_viridis()

{viridis}

scale color aesthetic to viridis color gradient

scale_x_continuous()

{ggplot2}

scale x axis to be continuous

geom_hline()

{ggplot2}

plot horizontal reference line

geom_label()

{ggplot2}

adds text in rectangle to plot

parse_datetime()

{readr}

parse date/time

arrow()

{grid}

plot arrows

theme()

{ggplot2}

customize non-data components of plot

cut()

{base}

divide range of vector into intervals

guides()

{ggplot2}

set guides for scale

coord_cartesian()

{ggplot2}

use Cartesian coordinates

limits

{ggplot2}

scale argument to limit data range

scale_color_gradient()

{ggplot2}

scale color aesthetic to continuous color gradient

scale_x_date()

{ggplot2}

scale x axis to be date

scale_color_discrete()

{ggplot2}

scale color aesthetic to be discrete

geom_text()

{ggplot2}

adds text to plot

geom_segment()

{ggplot2}

plot line segment

scale_fill_gradient()

{ggplot2}

scale fill aesthetic to continuous color gradient

geom_vline()

{ggplot2}

plot vertical reference line

scale_color_brewer()

{ggplot2}

map colors to data with ColorBrewer

scale_y_continuous()

{ggplot2}

scale y axis to be continuous

scale_color_manual()

{ggplot2}

map colors to data manually

annotate()

{ggplot2}

annotate plot independent of data

ggsave()

{ggplot2}

save a ggplot

scale_color_gradient2()

{ggplot2}

scale color aesthetic to diverging color gradient

str_wrap()

{stringr}

wrap strings into nicely formatted paragraphs

geom_rect()

{ggplot2}

plot rectangle

labs()

{ggplot2}

modify axis, legend, and plot labels

guide_colourbar()

{ggplot2}

control legend color bar

The end!