ComeçarComece de graça

Is turnover rate different across locations?

Lower cost of living often drives employees to look for opportunities elsewhere. In this exercise, you will explore if location affects turnover.

Este exercício faz parte do curso

HR Analytics: Predicting Employee Churn in R

Ver curso

Instruções do exercício

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

Exercício interativo prático

Experimente este exercício completando este código de exemplo.

# Calculate location wise turnover rate
df_location <- org %>% 
  group_by(___) %>% 
  summarize(turnover_location = ___)

# Check the results
df_location

# Visualize the results
ggplot(df_location, aes(x = ___, y = ___)) +
  geom_col()
Editar e executar o código