IniziaInizia gratis

Which levels have high turnover rate?

Turnover adversely affects efficiency, productivity, profitability and morale of the organization.

To retain the talent it becomes imperative to find out where we are losing the most. In this exercise, you will explore the turnover rate at each job level in the dataset.

Unless otherwise mentioned, all necessary packages and datasets will be loaded in your workspace going forward.

Questo esercizio fa parte del corso

HR Analytics: Predicting Employee Churn in R

Visualizza il corso

Istruzioni dell'esercizio

  • Calculate the turnover rate for each level.
  • Create a bar chart of turnover rates for each level.

Esercizio pratico interattivo

Prova a risolvere questo esercizio completando il codice di esempio.

# Calculate level wise turnover rate
df_level <- org %>% 
  ___(level) %>% 
  ___(turnover_level = mean(turnover))

# Check the results
df_level

# Visualize the results
ggplot(df_level, aes(x = ___, y = ___)) + 
  geom_col()
Modifica ed esegui il codice