Step by Step R for Machine Learning in Thesis