Essential Mathematics for Data Science and Machine Learning: Using R