Using the set.seed() function and caret package, the data was split into training and testing subsets. A logistic regression model was created to predict customer churn for the fictional Telco Communications company.