Internal function to be coupled with predict and clusterR

predR(object, newdata)

Arguments

object

fitted model as output of glm or gam

newdata

a data frame in which to look for variables with which to predict