[R] Seeking well-commented versions of mgcv source code

William Dunlap wdunlap at tibco.com
Sat May 3 21:26:41 CEST 2014


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 <andrewcd at 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 at 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.



More information about the R-help mailing list