[R] mgcv summary.gam

2013-06-21 Thread Greg Dropkin
hi I'm trying to understand (a little) the code behind summary.gam, and have the Biometrika article referred to in the Help. But am stuck early on. In the code, starting at line 167: if (est.disp) rdf <- residual.df else rdf <- -1 res <- testStat(p, Xt, V, df[i], type = p.type, res.df = rdf)

Re: [R] mgcv summary.gam

2013-06-21 Thread Simon Wood
Hi Greg On 21/06/13 08:02, Greg Dropkin wrote: > hi > > I'm trying to understand (a little) the code behind summary.gam, and have > the Biometrika article referred to in the Help. But am stuck early on. > > In the code, starting at line 167: > > if (est.disp) >rdf <- residual.df > else rdf <-