Get startedGet started for free

Exploring compensation

Compensation plays a very important role in an employee's decision to stay or leave the organization.

In this exercise, you'll explore the distribution of compensation using histograms and understand how it varies by level.

This exercise is part of the course

HR Analytics: Predicting Employee Churn in R

View Course

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

# Plot the distribution of compensation
ggplot(___, aes(x = ___)) + 
  ___
Edit and Run Code