Building a prediction model with R whether an email is spam or non-spam.