Imputing Missing Values in R
Imputation
Instead of removing missing values, we can replace them with mean or median values.
r
data$age[is.na(data$age)] <- mean(data$age, na.rm=TRUE)
Next Tutorial: Removing Duplicates

