Question
a. Make a scatter plot of the relationship between per-capita income (in 1000s of dollars) and the percentage of the population with a bachelor's degree
a. Make a scatter plot of the relationship between per-capita income (in 1000s of dollars) and the percentage of the population with a bachelor's degree in 2017. The respective variables are`per_capita_income_2017` and `bachelors_2017`. Color all the points blue in your scatter plot.
Write the code in the code chunk below with the explanatory on the x axis and the response on the y axis.
```{r scatterplot,warning=FALSE}
##enter code to create scatter plot
```
b. In the code chunk below, write and *add* a new variable to the `county_complete` dataset called `pop_change` which represents the **percentage** change in population from 2013 (`pop2013`) to 2017 (`pop2017`). Run the code to make sure it works as expected! You will need to scroll all the way to the last column using the `>>` button in the viewer to see your handiwork!
```
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started