Data Science Desktop Survival Guide
by Graham Williams |
|||||
Executing Code |
install.packages(c("ggplot2", "rattle"))
library(ggplot2) library(rattle) qplot(data=weatherAUS, x=MinTemp, y=MaxTemp) qplot() allows us to quickly code a plot. Using the weatherAUS dataset we plot the minimum daily temperature (MinTemp) on the x-axis against the maximum daily temperature (MaxTemp) on the y-axis. The resulting plot is a scatter plot as we see the plot in the lower right pane. |