powered by
Make a data.frame of yhat with a model
model2df(model, x = NULL, n = 100)
A model of class "lm" or"glm" or"loess"
A optional vector of explanatory variable
number of observations.