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.
Cet exercice fait partie du cours
Fraud Detection in R
Exercice interactif pratique
Essayez cet exercice en complétant cet exemple de code.
# Convert the plain text to hours
timestamps_hrs <- as.numeric(___(___)) / ___