Hi,
I have the following problem while running a "gam" regression: test.gam = gam(fmla,data=Final.Df) where fmla is a regression formula that looks like: "Var1 ~ poly(c(1:160), degree = 5) + VarC1 + VarC2 + . VarC12 Within SPlus I used the following phrase to find the coefficients for the poly variables: Poly.Variables = data.frame(poly.transform(poly(c(1:160), degree = 5),coef(test.gam)[1:6],T)) Does anyone knows how I can retrieve the coefficients within R? Thx for helping me out. Bert [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.