JuliaStats/DataFrames.jl — pull request #679 by kleinschmidt (2014-08-30 04:31:29+00:00)
Title: Add predict method using DataFrame predictors

The StatsBase.predict method that is currently delegated to doesn't take DataFrames as predictors, just matrices. I've added a constructor for ModelFrame which takes Terms and a DataFrame and creates a new ModelFrame based on the original but with new data, and a predict method that uses this to construct a predictor matrix suitable to pass to the StatsBase.predict.