[R] Building and scoring multiple models with dplyr functions

2014-08-18 Thread Andrew Agrimson
Hello All, I have a question regarding building multiple models and then scoring new data with these models. I have been tasked with converting existing SAS modeling code into equivalent R code, but unfortunately I rarely use R so I'm in unfamiliar territory. I've think I've found a good way to

Re: [R] Building and scoring multiple models with dplyr functions

2014-08-18 Thread Ista Zahn
At the risk of being old-fashioned, I suggest doing this in a for-loop. Why struggle to fit this into the dplyr framework when a straight-forward loop will do the trick? This is untested in the absence of example data, but something along the lines of models - list() predictions - list() for(g