Push the knit button!

library(tidyverse) # contains ggplot2, dplyr, tidyr, etc
library(scales)
library(colorspace)
library(agridat) # for datasets

nass.cotton dataset

glimpse(nass.cotton)
## Rows: 2,338
## Columns: 4
## $ year  <int> 1866, 1866, 1866, 1866, 1866, 1866, 1866, 1866, 1866, 1866, 186…
## $ state <fct> Alabama, Arkansas, Florida, Georgia, Louisiana, Mississippi, No…
## $ acres <dbl> 977000, 489000, 155000, 895000, 1020000, 1668000, 390000, 40200…
## $ yield <int> 120, 198, 123, 122, 57, 86, 124, 116, 102, 121, 325, 152, 189, …

Exercise 3.1