Exercise

Circular histogram

The circular histogram is a visual representation of the timestamps of events. It can be used to analyze a person's typical behavior. The dataset timestamps contains 25 timestamps of transactions made by Mr. Cooper. You're going to estimate the periodic mean and plot the histogram. Keep an eye on the visualizations to spot anything out of the ordinary!

The dataset timestamps has been loaded in your workspace, as well as the lubridate, circular and ggplot packages.

Instructions 1/4

undefined XP
    1
    2
    3
    4
  • The timestamps are recorded as text. Convert timestamps to hours on a 24 hour clock by first using hms() from the lubridate package, and then dividing by the number of seconds in an hour.