Kom igångKom igång gratis

Identifying missing values

Attrition is a critical issue for corporations, as losing an employee implies not only the cost of recruiting and training a new one, but constitutes a loss in tacit knowledge and culture that is hard to recover.

The attritiondataset has information on employee attrition including Age, WorkLifeBalance, DistanceFromHome, StockOptionLevel, and 27 others. Before continuing with your analysis, you want to detect any missing variables.

The package naniar and the attritiondataset are already loaded for you.

Den här övningen är en del av kursen

Feature Engineering in R

Visa kurs

Interaktiv övning med praktiskt arbete

Testa den här övningen genom att slutföra den här exempelkoden.

# Explore missing data on the attrition dataset
___(attrition)
Redigera och kör kod