You can download the source code for the package with download.packages("mgcv", type="source", destdir="/tmp")
Bill Dunlap TIBCO Software wdunlap tibco.com On Fri, May 2, 2014 at 7:15 PM, Andrew Crane-Droesch <andre...@gmail.com> wrote: > Dear List, > > I'm looking for well-commented versions of various functions comprising > mgcv, so that I can modify a piece of it for a project I'm working on. > In particular I'm looking for > > * testStat > * summary.gam > * liu2 > * simf > > Obviously I can find these by typing mgcv:::whatever. But there are a > lot of nested if statements, making it difficult to follow. Comments in > the code describing exactly what is happening at each step would make my > life a lot easier. > > Where can I find more-detailed versions of the code? > > Thanks, > Andrew > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.