A collection of code snippets for predictive analytics with R