Time Series Forecasting using Machine Learning: Case Studies with R and iForecast