MulaiMulai sekarang secara gratis

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.

Latihan ini adalah bagian dari kursus

HR Analytics: Predicting Employee Churn in R

Lihat Kursus

Petunjuk latihan

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

Latihan interaktif praktis

Cobalah latihan ini dengan menyelesaikan kode contoh berikut.

# 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()
Edit dan Jalankan Kode