R studio
a. [1 point] Subset the txhousing data frame (included in the tidyverse package) to keep only • The year 2014, and • Cities “Austin”, “Collin County”, “Dallas”, “Denton County”, “Fort Bend”, “Fort Worth”, “Houston”, “Montgomery County”, and “San Antonio”. b. [3 points) Based on the data frame you created in “2.a”, create a graph showing the evolution of median through the 12 months of the year. The graph should feature: • One point for each observation, colored by city, and with size set to 0.5, and • One line for each city, colored by city, and with transparency set to 0.5. Your graph should look something like this: Show transcribed image text a. [1 point] Subset the txhousing data frame (included in the tidyverse package) to keep only • The year 2014, and • Cities “Austin”, “Collin County”, “Dallas”, “Denton County”, “Fort Bend”, “Fort Worth”, “Houston”, “Montgomery County”, and “San Antonio”. b. [3 points) Based on the data frame you created in “2.a”, create a graph showing the evolution of median through the 12 months of the year. The graph should feature: • One point for each observation, colored by city, and with size set to 0.5, and • One line for each city, colored by city, and with transparency set to 0.5. Your graph should look something like this:
Expert Answer
Answer to a. [1 point] Subset the txhousing data frame (included in the tidyverse package) to keep only • The year 2014, and •…