R exercise

longley ggplot2 regression line

Sign in to hand in your solution and get feedback.

library(ggplot2) data(longley) p1 <- ggplot(longley, aes(x = GNP, y = Employed)) + geom_point(color = "red") # Type your graphical command(s) here: