เริ่มต้นใช้งานเริ่มต้นใช้งานได้ฟรี

Comparing other factors by department

Another common way to think about engagement is identifying which employees are disengaged, which you'll define as having an engagement score of 1 or 2. The survey dataset doesn't have a column called disengaged, but you can create it yourself.

Then you can use your dplyr tools to summarize several variables at once.

แบบฝึกหัดนี้เป็นส่วนหนึ่งของหลักสูตร

HR Analytics: Exploring Employee Data in R

ดูคอร์ส

แบบฝึกหัดเชิงโต้ตอบแบบลงมือทำ

ลองทำแบบฝึกหัดนี้โดยเติมโค้ดตัวอย่างนี้ให้สมบูรณ์

# Create the disengaged variable and assign the result to survey_disengaged
survey_disengaged <- survey %>% 
  ___

survey_disengaged
แก้ไขและรันโค้ด