This page list some of the R code used in the book Smoothing Spline ANOVA Models by Chong Gu (2002, Springer-Verlag). For the plotting code, some are modified for use on color monitors and some are not listed in the book.
You will need to install the gss
package, found among the contributed packages. See the R
FAQ for the installations of base R and add-on packages.
Chapter 3
Example 3.1, page 82
Example 3.2, page 84
Example 3.3, page 88
Example 3.4, page 89
Example 3.5, page 90
Section 3.7.1, page 93
Section 3.7.2, page 94
Chapter 4
Example 4.1, page 112
Section 4.3.4, page 130 (need the
wtloss data in the MASS package)
Section 4.4.4, page 141
Chapter 5
Example 5.4, page 162
Example 5.5, page 163
Example 5.6, page 164
Example 5.7, page 166
Example 5.8, page 167
Section 5.5.1, page 168
Section 5.5.2, page 170
Section 5.5.3, page 171
Chapter 7
Example 7.7, page 224
Section 7.5.5, page 227