> It's the gam.predict example. Instead of pred<-predict.gam(b,newd) I tried > pred<-predict.gam(b). - Ok, thanks - this is a bug I missed, I'll fix it. The results should be unaffected, though. Simon