Elements of Data Science, Machine Learning, and Artificial Intelligence Using R