Re: [R] Use generalised additive model to plot curve

2010-12-14 Thread Gavin Simpson
On Tue, 2010-12-14 at 22:36 +, e-letter wrote: > Readers, > > I have been reading 'the r book' by Crawley and think that the > generalised additive model is appropriate for this problem. The > package 'gam' was installed using the command (as root) > > install.package("gam") > ... > library(g

Re: [R] Use generalised additive model to plot curve

2010-12-14 Thread Bill.Venables
las = 1, main = "A Spline Interpolation") points(x, y, pch = 3, col = "red", lwd = 2) Bill Venables. -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of e-letter Sent: Wednesday, 15 December 2010 8:37 AM To: r-h

[R] Use generalised additive model to plot curve

2010-12-14 Thread e-letter
Readers, I have been reading 'the r book' by Crawley and think that the generalised additive model is appropriate for this problem. The package 'gam' was installed using the command (as root) install.package("gam") ... library(gam) > library(gam) Loading required package: splines Loading require