Exercise

Visualize time features

You previously created features for the hour of the day that discipline incidents happen hod. In feature engineering, we are often interested in deriving insights from new features through exploration and visualization. For example we could be interested in finding out if there are certain times in the day that incidents happen the most and a simple histogram could answer such question.

Instructions

100 XP
  • Use ggplot() and create a histogram of the variable hod from the discipline log dataset.