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.
本练习是课程的一部分
HR Analytics: Predicting Employee Churn in R
练习说明
- Calculate the turnover rate for each
level. - Create a bar chart of turnover rates for each
level.
交互式实操练习
通过完成这段示例代码来试试这个练习。
# 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()