शुरू करेंमुफ़्त में शुरू करें

Recruiting source के अनुसार attrition rates

Quality of hire का एक और metric attrition rate है, यानी नए hires कितनी बार कंपनी छोड़ते हैं। पता लगाइए कि किन recruiting channels में attrition rate सबसे अधिक और सबसे कम है.

पिछले अभ्यास में आउटपुट एक data frame था जिसमें recruiting channels और average quota attainment था। अगर उसे arrange() से sort किया गया होता, तो यह बताना आसान होता कि किस channel में सबसे अच्छे-performing कर्मचारी थे.

यह अभ्यास पाठ्यक्रम का हिस्सा है

HR Analytics: R में कर्मचारी डेटा की पड़ताल

पाठ्यक्रम देखें

अभ्यास निर्देश

recruitment और dplyr आपके workspace में लोड हैं.

  • प्रत्येक recruiting source के भीतर attrition rate निकालने के लिए summarize() का उपयोग करें। इसे attrition_rate नाम के नए कॉलम में स्टोर करें.
  • परिणाम को attrition rate के आधार पर, सबसे कम से सबसे अधिक तक sort करें और उसे avg_attrition में assign करें.

इंटरैक्टिव व्यावहारिक अभ्यास

इस अभ्यास को इस नमूना कोड को पूरा करके आज़माएँ।

# Find the average attrition for the sales team, by recruiting source, sorted from lowest attrition rate to highest
avg_attrition <- recruitment %>%
  ___ %>% 
  ___ %>% 
  ___

# Display the result
avg_attrition
कोड संपादित करें और चलाएँ