Learn to quickly build a set of plots that are routinely used to explore data:
library(ggplot2)
library(dplyr)
Shortcut designed for those familiar with base plots. You can quickly produce a number of different types of plots. Below are the key arguments:
x
: data for X axisy
: data for Y axisgeom
: symbols to represent datadata
: a data frame or a tibbleqplot(disp, mpg, data = mtcars)
qplot(disp, mpg, data = mtcars, geom = c('point', 'line'))