R code used in Kaggle competition for predicting Walmart department sales