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.
แบบฝึกหัดนี้เป็นส่วนหนึ่งของหลักสูตร
Fraud Detection in R
แบบฝึกหัดเชิงโต้ตอบแบบลงมือทำ
ลองทำแบบฝึกหัดนี้โดยเติมโค้ดตัวอย่างนี้ให้สมบูรณ์
# Convert the plain text to hours
timestamps_hrs <- as.numeric(___(___)) / ___