To develop a classification model, the original data must be divided into train data set and test data set. You should do the following:
The alookr package makes these steps fast and easy:
For information on how to perform split the data into a train set and a test set, refer to the following website.