Directions

For this assignment you should record your answers in an R Markdown file and submit the compiled output as a pdf.

Homework #4 is due Friday 10/10 by 10:00pm

Question #1

Using the polls data, https://remiller1450.github.io/data/polls2016.csv, recreate the following figure

\(~\)

Question #2

In your own words, explain the difference between long and wide data, and how to convert between them in R.

Question #3

Using the icu data, https://remiller1450.github.io/data/ICUAdmissions.csv, recreate the following figure

Hints: There is a filter using the Previous variable so no previous admits are included. We worked with this data in Lab4.