R Predictive Modeling Coding Example