Re: [R] GAM, how to set qr=TRUE

2012-05-04 Thread Ben quant
Solution: have package mgcv loaded when you predict...not just for the fit. :) Silly mistake... Thanks Simon! Ben On Thu, May 3, 2012 at 3:56 PM, Ben quant wrote: > Hello, > > I don't understand what went wrong or how to fix this. How do I set > qr=TRUE for gam? > > When I produce a fit using

Re: [R] GAM, how to set qr=TRUE

2012-05-04 Thread Simon Wood
Which version of gam are you using (i.e. which package and version number?) prediction with fitted gam objects should call predict.gam, and I'm not quite sure why this is not happening here (you do have the mgcv or gam loaded while trying to predict, I suppose?). On 03/05/12 22:56, Ben quant