Summer Deals - hours only!Up to 80% off on all courses and bundles.-Close
Final Quiz
3. Exercise 3

Instruction

Now, let's find out which days of the week have the most departures.

Exercise

Using the wday() function, create the wday_shipped variable from the date_shipped column, and create a histogram based on that variable.

In this exericise, you'll need the lubridate package. Let's import lubridate, as well as the tidyr package, so we'll be done with importing in this part.

Stuck? Here's a hint!

Use the wday() and hist() functions.

To import mentioned packages, simply type:

library(tidyr)
library(lubridate)