Focusing on the problem location
Because Southfield was the location where the accident increased the most from 2016 to 2017, you should investigate what else changed there. Overworked employees are more likely to make mistakes that lead to accidents, so you can start by comparing average overtime hours worked in each year.
แบบฝึกหัดนี้เป็นส่วนหนึ่งของหลักสูตร
HR Analytics: Exploring Employee Data in R
แบบฝึกหัดเชิงโต้ตอบแบบลงมือทำ
ลองทำแบบฝึกหัดนี้โดยเติมโค้ดตัวอย่างนี้ให้สมบูรณ์
# Filter out the other locations
southfield <- ___