Plot Basics
Layers
Aesthetics
Scales
100

Function used to create a new ggplot

ggplot()

100

which function makes a scatter plot of two variables
plot(x, y)

plot()

100

what are the 3 color related aesthetics?

Color, fill, & alpha

100

This function allows you to override R and choose your own colors for a scatter plot using continuous data

scale_color_manual

200

Function used to construct aesthetic mappings

aes()

200

which function makes a histogram of one variable
hist(x)

hist()

200

What are the 3 differentiation related aesthetics?

 linetype, size, & shape

200

This function allows you override R and set high/low values to a different gradient color

scale_color_gradient

300

character used to add components to a plot

+ and %+%

300

which funtion adds points to the axes of ggplot?
(will do this without any input & default is solid black points)

geom_point()

300

which function allows you to modify components of a theme

theme()

300

This function allows you to override R and choose your own colors for a scatter plot using categorical data

scale_color_brewer

400

Function used to save a ggplot (or other grid object) with sensible defaults

ggsave()

400

Which function(s) create bar charts?

geom_bar(), geom_col(), stat_count()

400

Use these functions in conjunction with theme() to choose and tweak individual settings

Element functions: margin(), element_blank(), element_rect(), element_line(), element_text(), and rel()

400

which functions allow you to modify axis, legend, and plot labels

labs(), xlab(), ylab(), and ggtitle()

500

Function used to create a quick plot

qplot() or quickplot()

500

Which function adds y labels if they are already included in the data set?

geom_text()

500
Override R settings with one of these complete theme functions

theme_grey(), theme_gray(), theme_bw(), theme_linedraw(), theme_light(), theme_dark(), theme_minimal(), theme_classic(), theme_void(), and theme_test()

500

which functions allow you to set scale limits

lims(), xlim(), ylim()