R code used for eBay Sales Prediction platform