R functions for a pipeline of predictive modeling approaches