[R] gam function in the mgcv library

2007-06-25 Thread Bill Wheeler
I would like to fit a logistic regression using a smothing spline, where the spline is a piecewise cubic polynomial. Is the knots option used to define the subintervals for each piece of the cubic spline? If yes and there are k knots, then why does the coefficients field in the returned object

Re: [R] gam function in the mgcv library

2007-06-25 Thread Simon Wood
On Monday 25 June 2007 13:26, Bill Wheeler wrote: I would like to fit a logistic regression using a smothing spline, where the spline is a piecewise cubic polynomial. Is the knots option used to define the subintervals for each piece of the cubic spline? - if you use something like