Investigating education field
Education field is a feature of the attrition
dataset. You are interested in using it as a predictor for churning. Start by taking a look at the factor values. The dataset is already loaded.
This exercise is part of the course
Feature Engineering in R
Exercise instructions
- Select
EducationField
from theattrition
dataset. - Print a frequency table of the factor values in
EducationField
.
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
attrition %>%
# Select education field
___(___) %>%
# Print a frequency table of factor values
___