Visualizing the attrition differences
You've been using two quality of hire metrics to compare the recruiting channels. In addition to looking at the sales output of the hires, you are also looking at the attrition rates. Plot a bar chart again, but this time plot average attrition instead of sales quota attainment.
Cet exercice fait partie du cours
HR Analytics: Exploring Employee Data in R
Instructions
The summarized data, avg_attrition
, is available in your workspace.
- Plot a bar chart from the
avg_attrition
data. Place the recruiting source on the x-axis and the average attrition on the y-axis.
Exercice interactif pratique
Essayez cet exercice en complétant cet exemple de code.
# Load ggplot2
library(ggplot2)
# Plot the bar chart