Hi all, I find myself needing to be able to reproduce the spline bases that R computes when using ns() and bs() -- but without using R. Before I go diving headfirst into the C code in ./src/library/splines/src/splines.c, are there any simpler references anyone might recommend? I notice that the help pages for these functions don't seem to have any citations. Thanks, - Nathaniel
Nathaniel Smith <njs <at> pobox.com> writes:> I find myself needing to be able to reproduce the spline bases that R > computes when using ns() and bs() -- but without using R. Before I go > diving headfirst into the C code in > ./src/library/splines/src/splines.c, are there any simpler references > anyone might recommend?[snip] Some of this stuff *might* be in the "White Book" (Statistical Models in S, ed Chambers & Hastie (esp. chapter 7?) Ben Bolker