Summer Deals - hours only!Up to 80% off on all courses and bundles.-Close
Dates
Summary

Instruction

When we have a weekday column in our dataset, we can easily check the number of departures on each day of the week using the table() function, as shown below:

table(trucks$departure_weekday)

Exercise

Using the table() function, check the number of departures by weekday in the ships data set. Use the departure_weekday column.