[R] spline with multiple predictor vars?
Simon Wood
simon at stats.gla.ac.uk
Mon Apr 7 07:42:03 CEST 2003
There are thin plate regression splines in mgcv and thin plate splines and
tensor product splines in gss that will probably do what you want.
See examples in mgcv helpfile ?gam for a couple of examples.
> Hi, is there a way in R to generate a polynomial spline with multiple predictor
> variables? I have one response and two predictors and I'm trying to fit a
> spline model for this...
_____________________________________________________________________
> Simon Wood simon at stats.gla.ac.uk www.stats.gla.ac.uk/~simon/
>> Department of Statistics, University of Glasgow, Glasgow, G12 8QQ
>>> Direct telephone: (0)141 330 4530 Fax: (0)141 330 4814
More information about the R-help
mailing list